一键登录模块
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = {
|
||||
new webpack.DefinePlugin({
|
||||
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
|
||||
const tfPages = new TransformPages({
|
||||
includes: ['path', 'name', 'aliasPath']
|
||||
includes: ['path', 'name', 'meta']
|
||||
});
|
||||
return JSON.stringify(tfPages.routes)
|
||||
}, true )
|
||||
|
||||
Reference in New Issue
Block a user