-
-
Couldn't load subscription status.
- Fork 6.3k
Closed
Description
Version
3.4.1
Environment info
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
Binaries:
Node: 8.11.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.12.3 - C:\Users\dirayer\AppData\Roaming\npm\yarn.CMD
npm: 6.7.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Not Found
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0-beta.2
@vue/babel-plugin-transform-vue-jsx: 1.0.0-beta.2
@vue/babel-preset-app: 3.4.1
@vue/babel-preset-jsx: 1.0.0-beta.2
@vue/babel-sugar-functional-vue: 1.0.0-beta.2
@vue/babel-sugar-inject-h: 1.0.0-beta.2
@vue/babel-sugar-v-model: 1.0.0-beta.2
@vue/babel-sugar-v-on: 1.0.0-beta.2
@vue/cli-overlay: 3.4.1
@vue/cli-plugin-babel: ^3.4.0 => 3.4.1
@vue/cli-plugin-eslint: ^3.4.0 => 3.4.1
@vue/cli-service: ^3.4.0 => 3.4.1
@vue/cli-shared-utils: 3.4.1
@vue/component-compiler-utils: 2.6.0
@vue/eslint-config-prettier: ^4.0.1 => 4.0.1
@vue/preload-webpack-plugin: 1.1.0
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.2
vue: ^2.5.22 => 2.6.7
vue-cli-plugin-vuetify: ^0.4.6 => 0.4.6
vue-eslint-parser: 2.0.3
vue-hot-reload-api: 2.3.3
vue-i18n: 8.8.2
vue-loader: 15.6.4
vue-router: ^3.0.1 => 3.0.2
vue-style-loader: 4.1.2
vue-template-compiler: ^2.5.21 => 2.6.7
vue-template-es2015-compiler: 1.9.1
vuetify: ^1.3.0 => 1.5.3
vuetify-loader: ^1.0.5 => 1.2.1
vuex: ^3.0.1 => 3.1.0
Steps to reproduce
in vue.config.js :
module.exports = {
publicPath: process.env.NODE_ENV === 'staging'
? '/staging-path/'
: '/'
} run command : "vue-cli-service serve --mode staging"
What is expected?
publicPath == "/staging-path/"
process.env.NODE_ENV == "staging"
What is actually happening?
publicPath == "/"
process.env.NODE_ENV == "development"
It seems to me that "--mode staging" worked in a previous version
Metadata
Metadata
Assignees
Labels
No labels