Browse Source

Add yarn watch

vuejs
Alexandre Iooss 6 years ago
parent
commit
4e1aecaa98
No known key found for this signature in database GPG Key ID: 6C79278F3FCDCC02
  1. 1
      package.json
  2. 2
      vue.config.js

1
package.json

@ -5,6 +5,7 @@
"license": "GPL-3.0+",
"scripts": {
"build": "vue-cli-service build --inline-vue --target wc-async 'static/components/*.vue'",
"watch": "vue-cli-service build --mode development --watch --inline-vue --target wc-async 'static/components/*.vue'",
"lint": "vue-cli-service lint"
},
"dependencies": {

2
vue.config.js

@ -5,6 +5,8 @@
* chunks in static/bundles.
* Then you can use for exemple <re2o-hello-world></re2o-hello-world> to call
* the HelloWorld component.
*
* You can develop new components using `yarnpkg watch`.
*/
module.exports = {

Loading…
Cancel
Save