2.11.0 • Published 6 years ago
@hanxx/micro-nuxt v2.11.0
Micro-Nuxt
Using front-end microservices with Nuxt, support qiankun now
Setup
- Add
@hanxx/micro-nuxtdependency to your project
yarn add @hanxx/micro-nuxt -D # or npm install micro-front-end- Add
@hanxx/micro-nuxtto themodulessection ofnuxt.config.js
{
modules: [
// Simple usage
'@hanxx/micro-nuxt',
// With options
['@hanxx/micro-nuxt', { /* module options */ }]
]
}Module Options
path: the MFE lifecycle hook file path
force: skip version check and force to use this module
Support Micro Front-End Framework
- qiankun
- single-SPA waiting for test and verify
LifeCycle hooks file example
Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) Han xsytby1112@gmail.com
2.11.0
6 years ago