Skip to content

Instantly share code, notes, and snippets.

@EdwardMillen
EdwardMillen / scripts section of package.json
Last active November 3, 2021 12:51 — forked from educkf/snippet of package.json scripts
Sample Split Vue Config Files
"scripts": {
"serve": "vue-cli-service serve",
"build:client": "env VUE_CLI_SERVICE_CONFIG_PATH=\"**Insert full path to vue.configClient.js**\" vue-cli-service build",
"build:admin": "env VUE_CLI_SERVICE_CONFIG_PATH=\"**Insert full path to vue.configAdmin.js**\" vue-cli-service build",
"build:all": "npm run build:client && npm run build:admin",
"lint": "vue-cli-service lint"
},