diff --git a/package.json b/package.json index 8a9bf4aa..6ebbb82e 100644 --- a/package.json +++ b/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": { diff --git a/vue.config.js b/vue.config.js index 122d1e77..3c0148fb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,6 +5,8 @@ * chunks in static/bundles. * Then you can use for exemple to call * the HelloWorld component. + * + * You can develop new components using `yarnpkg watch`. */ module.exports = {