Skip to content

Commit

Permalink
Replace bundler with webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 3, 2021
1 parent 8db09e8 commit 7591a50
Show file tree
Hide file tree
Showing 10 changed files with 20,950 additions and 23,875 deletions.
18 changes: 15 additions & 3 deletions assets/ico/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"start_url": "../#",
"start_url": "../",
"name": "EV Charge Controller",
"short_name": "EV Charge Controller",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
"display": "standalone",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
5 changes: 0 additions & 5 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
<meta name="theme-color" content="#ffffff" />

<title>evcc</title>

<!-- CSS -->
<link href="../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="./css/app.css" rel="stylesheet" />
</head>
<body>
<script>
Expand Down Expand Up @@ -50,6 +46,5 @@
</div>
</div>
</footer>
<script src="js/app.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "../css/app.css";
import "bootstrap/dist/css/bootstrap.min.css";
import "popper.js";
import "bootstrap";
import Vue from "vue";
Expand Down
2 changes: 1 addition & 1 deletion assets/js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const routes = [
{ path: "/config", component: Config },
];

module.exports = new VueRouter({
export default new VueRouter({
routes,
linkExactActiveClass: "active", // Bootstrap <nav>
});
2 changes: 1 addition & 1 deletion assets/js/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ const store = {
},
};

module.exports = store;
export default store;
Loading

0 comments on commit 7591a50

Please sign in to comment.