1234567891011121314 |
- const TransformPages = require('uni-read-pages')
- const tfPages = new TransformPages({
- includes:['path','name','meta']
- })
- // const tfPages = new TransformPages()
- module.exports = {
- configureWebpack: {
- plugins: [
- new tfPages.webpack.DefinePlugin({
- ROUTES: JSON.stringify(tfPages.routes)
- })
- ]
- }
- }
|