Minimal webpack workflow created
parent
55ce460261
commit
c6aa313839
@ -0,0 +1,15 @@
|
||||
# Vuejs and webpack
|
||||
|
||||
## Installation
|
||||
|
||||
`npm install`
|
||||
|
||||
## Build
|
||||
|
||||
To bundle your js code simply use the below command
|
||||
|
||||
`npm start`
|
||||
|
||||
Alternatively you could return
|
||||
|
||||
`node_modules/.bin/webpack --config webpack.config.js`
|
@ -0,0 +1 @@
|
||||
bundle.js
|
@ -1,5 +1,5 @@
|
||||
// app.js
|
||||
// import Vue from './node_modules/vue/dist/vue.esm.browser.js'
|
||||
import Vue from '../node_modules/vue/dist/vue.esm.browser.js'
|
||||
|
||||
const app = new Vue({
|
||||
el: '#app',
|
Loading…
Reference in New Issue