mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-18 08:44:16 +08:00
✨ 支持 template 模板 list 模式
This commit is contained in:
13
tpl/vue.config.js
Normal file
13
tpl/vue.config.js
Normal 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/tpl"),
|
||||
publicPath: process.env.NODE_ENV === "production" ? "" : "/",
|
||||
};
|
||||
Reference in New Issue
Block a user