vue.config.js 380 B

1234567891011121314151617
  1. module.exports = {
  2. devServer: {
  3. headers: {
  4. 'Access-Control-Allow-Origin': '*',
  5. },
  6. },
  7. chainWebpack: config => {
  8. // config.module
  9. // .rule('vue')
  10. // .use('vue-loader')
  11. // .tap(options => {
  12. // // modify the options...
  13. // options.compilerOptions.isCustomElement = tag => tag.startsWith('micro-app')
  14. // return options
  15. // })
  16. }
  17. }