Skip to content

Commit

Permalink
✨ Add new entry for development
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Mar 22, 2017
1 parent 87fb357 commit 348de82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/webpack.base.conf.js
Expand Up @@ -5,7 +5,7 @@ var projectRoot = path.resolve(__dirname, '../')

module.exports = {
entry: {
app: './src/index.js'
app: './src/main.js'
},
output: {
path: config.build.assetsRoot,
Expand Down
9 changes: 9 additions & 0 deletions src/main.js
@@ -0,0 +1,9 @@
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './examples/App'

/* eslint-disable no-new */
new Vue({
render: h => h(App)
}).$mount('#app')

0 comments on commit 348de82

Please sign in to comment.