umi-plugin-remax

1.21.6 • Public • Published

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',
          },
        },
      },
    ],
  ],
};

Package Sidebar

Install

npm i umi-plugin-remax

Homepage

remaxjs.org

Weekly Downloads

13

Version

1.21.6

License

MIT

Unpacked Size

21.8 kB

Total Files

5

Last publish

Collaborators

  • darmody
  • yesmeck