您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

16 行
436 B

  1. const { defineConfig } = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. publicPath: "/",
  5. chainWebpack: (config) => {
  6. config.plugin('define').tap((definitions) => {
  7. Object.assign(definitions[0], {
  8. __VUE_OPTIONS_API__: 'true',
  9. __VUE_PROD_DEVTOOLS__: 'false',
  10. __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: 'false'
  11. })
  12. return definitions
  13. })
  14. }
  15. })