支持插件分离,增加开发者工具功能

This commit is contained in:
muwoo
2022-01-04 14:03:25 +08:00
parent c69be6c24f
commit 19cd77b26c
29 changed files with 13717 additions and 15 deletions

13
detach/vue.config.js Normal file
View File

@@ -0,0 +1,13 @@
const path = require("path");
module.exports = {
css: { // 配置css模块
loaderOptions: { // 向预处理器 Loader 传递配置选项
less: { // 配置less其他样式解析用法一致
javascriptEnabled: true, // 设置为true
},
},
},
outputDir: path.join(__dirname, "../public/detach"),
publicPath: process.env.NODE_ENV === "production" ? "" : "/",
};