Skip to content

Instantly share code, notes, and snippets.

View mircian's full-sized avatar
:shipit:

Mircea Sandu mircian

:shipit:
View GitHub Profile
@educkf
educkf / snippet of package.json scripts
Last active November 25, 2022 01:40 — forked from ejlofgren/snippet of package.json scripts
Sample Split Vue Config Files
"scripts": {
"serve": "vue-cli-service serve",
"build:admin": "rimraf vue.config.js && copy vue.configAdmin.js vue.config.js && vue-cli-service build --dest dist/admin src/admin/main.js && rimraf vue.config.js && copy vue.configDefault.js vue.config.js",
"build:client": "rimraf vue.config.js && copy vue.configClient.js vue.config.js && vue-cli-service build --dest dist/client src/client/main.js && rimraf vue.config.js && copy vue.configDefault.js vue.config.js",
"lint": "vue-cli-service lint"
},