vue.config.js 388 B

123456789101112131415161718192021222324
  1. const path = require("path");
  2. function resolve(dir) {
  3. return path.join(__dirname, dir);
  4. }
  5. module.exports = {
  6. publicPath: "./",
  7. outputDir: "manager-vue3",
  8. lintOnSave: false,
  9. productionSourceMap: false,
  10. devServer: {
  11. inline: true,
  12. port: 9999,
  13. open: true,
  14. },
  15. configureWebpack: {
  16. resolve: {
  17. alias: {
  18. "@": resolve("src"),
  19. },
  20. },
  21. },
  22. };