1.0.3 • Published 3 years ago

nuxt-qiankun v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@tzfe/nuxt-qiankun

npm version npm downloads Github Actions CI Codecov License

📖 Release Notes

Setup

  1. Add @tzfe/nuxt-qiankun dependency to your project
yarn add @tzfe/nuxt-qiankun # or npm install @tzfe/nuxt-qiankun
  1. Add @tzfe/nuxt-qiankun to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    "@tzfe/nuxt-qiankun",

    // With options
    [
      "@tzfe/nuxt-qiankun",
      {
        // 默认是 true, 由nuxt-qiankun 来完成子应用路由重定向逻辑.
        redirect: true,
        // 默认是 true, 也就是基于 webpack 中 externals 操作, 具体可以查阅 webpack 文档
        // 公共资源静态地址
        publicPath:
          "http://tzedu-hd02-frontend-oss-bucket01.oss-cn-shanghai.aliyuncs.com/operation/",
        externals: true
        /* module options */
      }
    ]
  ];
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) dsx 876337269@qq.com

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago