2.11.0 • Published 4 years ago

@hanxx/micro-nuxt v2.11.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Micro-Nuxt

npm version npm downloads Circle CI Codecov License

Using front-end microservices with Nuxt, support qiankun now

📖 Release Notes

Setup

  1. Add @hanxx/micro-nuxt dependency to your project
yarn add @hanxx/micro-nuxt -D # or npm install micro-front-end
  1. Add @hanxx/micro-nuxt to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@hanxx/micro-nuxt',

    // With options
    ['@hanxx/micro-nuxt', { /* module options */ }]
  ]
}

Module Options

Documents

path: the MFE lifecycle hook file path

force: skip version check and force to use this module

Support Micro Front-End Framework

LifeCycle hooks file example

Qiankun

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) Han xsytby1112@gmail.com