vue.config.js 269 B

123456789101112131415
  1. /*
  2. * npm run build 打包代码
  3. * 如果代码放在指定文件夹如pc,publicPath需要改为/pc
  4. * */
  5. module.exports = {
  6. publicPath: '/im/',
  7. css: {
  8. loaderOptions: {
  9. sass: {
  10. prependData: `@import "./src/style/theme.scss";`
  11. }
  12. }
  13. },
  14. }