umi-plugin-remax
v1.21.6
Published
Remax 是一个全新的基于 React 的小程序开发框架
Downloads
67
Readme
umi-plugin-remax
umi plugin for remax.
Usage
// config in your umi project (.umirc.js or config/config.js)
export default {
routes: [
{
path: 'pages/a',
},
{
path: 'pages/b',
},
],
plugins: [
[
'umi-plugin-remax',
{
// same with remax.config.js in remax
cssModules: true,
// same with app.config.js in remax
app: {
window: {
defaultTitle: 'alipay mini app',
},
},
},
],
],
};