vue.config.js 614 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. const path = require("path");
  3. function resolve(dir) {
  4. return path.join(__dirname, dir);
  5. }
  6. const name = "静海区特殊人群关爱服务系统";
  7. module.exports = {
  8. publicPath: "./",
  9. outputDir: "dist",
  10. assetsDir: "static",
  11. lintOnSave: false,
  12. productionSourceMap: false,
  13. devServer: {
  14. port: 9535,
  15. },
  16. configureWebpack: {
  17. // provide the app's title in webpack's name field, so that
  18. // it can be accessed in index.html to inject the correct title.
  19. name: name,
  20. resolve: {
  21. alias: {
  22. "@": resolve("src"),
  23. },
  24. },
  25. },
  26. };