"scripts": { "serve:main": "env APP_TYPE=\"main-app\" vue-cli-service serve main-app/src/main.ts", "build:main": "env APP_TYPE=\"main-app\" vue-cli-service build main-app/src/main.ts", "serve:subdoms": "env APP_TYPE=\"subdoms-app\" vue-cli-service serve subdoms-app/src/main.ts", "build:subdoms": "env APP_TYPE=\"subdoms-app\" vue-cli-service build subdoms-app/src/main.ts" },
env doesn't work on windows command prompt but can use this npm package to get around it:
npmjs.com/package/cross-env
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
env doesn't work on windows command prompt but can use this npm package to get around it:
npmjs.com/package/cross-env