1 Star 0 Fork 2

志恒/小鹿线-uniapp

forked from 曹锐群/小鹿线-uniapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 393 Bytes
一键复制 编辑 原始数据 按行查看 历史
曹锐群 提交于 2024-05-04 22:57 +08:00 . Initial commit
const TransformPages = require('uni-read-pages')
const {webpack} = new TransformPages()
module.exports = {
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
const tfPages = new TransformPages({
includes: ['path', 'name', 'aliasPath']
});
return JSON.stringify(tfPages.routes)
}, true )
})
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/godprogrammer/xiaolu-line-uniapp.git
git@gitee.com:godprogrammer/xiaolu-line-uniapp.git
godprogrammer
xiaolu-line-uniapp
小鹿线-uniapp
master

搜索帮助