vue.config.js 321 B

12345678910111213141516171819
  1. const path = require('path');
  2. module.exports = {
  3. devServer: {
  4. overlay: {
  5. warnings: true,
  6. errors: true
  7. }
  8. },
  9. runtimeCompiler: true,
  10. pluginOptions: {
  11. 'style-resources-loader': {
  12. preProcessor: 'scss',
  13. patterns: [path.resolve(__dirname, './src/styles/global.scss')]
  14. }
  15. }
  16. };