Skip to content

Commit a72c509

Browse files
committed
Switch back to the Vue.js runtime-only build, as per the normal Vue 2.0 scaffold.
1 parent a87c042 commit a72c509

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
<link rel="stylesheet" href="css/fonts.css">
99
</head>
1010
<body>
11-
<div id="app">
12-
<board-library></board-library>
13-
</div>
11+
<div id="app"></div>
1412
<script src="dist/app.js"></script>
1513
</body>
1614
</html>

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
"vueify": "^9.1.0",
2828
"watchify": "^3.4.0"
2929
},
30-
"browser": {
31-
"vue": "vue/dist/vue.js"
32-
},
3330
"browserify": {
3431
"transform": [
3532
"vueify",

src/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var Vue = require('vue')
22
var BoardLibrary = require('./BoardLibrary.vue')
33

4-
Vue.component('board-library', BoardLibrary)
5-
var app = new Vue({
6-
el: '#app'
4+
new Vue({
5+
el: '#app',
6+
render: h => h(BoardLibrary)
77
})

0 commit comments

Comments
 (0)