Skip to content

Commit b69eb7b

Browse files
committed
use vue runtime
1 parent 1e479c2 commit b69eb7b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

example/build/webpack.base.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module.exports = {
2929
resolve('node_modules')
3030
],
3131
alias: {
32-
'vue$': 'vue/dist/vue.esm.js',
3332
'env': resolve(`src/env/${env}`),
3433
'assets': resolve('src/assets'),
3534
'md5': 'blueimp-md5'

example/src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ Vue.use(svgicon, {
1313

1414
new Vue({
1515
el: '#app',
16-
template: '<App/>',
1716
router,
1817
store,
19-
components: { App }
18+
render: h => h(App)
2019
})
2120

0 commit comments

Comments
 (0)