Skip to content

zyh9/megalo-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

megalo官网

megalo,请戳我

分包示例

    // src/index.js
    pages: [ 'pages/index/index', 'pages/cart/index', 'pages/user/index' ],
    subPackages: [
        {
            root: 'pagesOther',
            pages: [ 'other/index' ]
        }
    ]

静态资源拷贝

    chainConfig.plugin('copy-webpack-plugin')
      .use(
        CopyWebpackPlugin,
        [
          [{
            from: resolve(__dirname, './src/static'),
            to: resolve(`dist-${process.env.PLATFORM}/static`)
          }]
        ]
      )

About

Megalo 基于Vue.js的小程序框架

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published