@hanxx/micro-nuxt

2.11.0 • Public • Published

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

/@hanxx/micro-nuxt/

    Package Sidebar

    Install

    npm i @hanxx/micro-nuxt

    Weekly Downloads

    1

    Version

    2.11.0

    License

    MIT

    Unpacked Size

    32.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • llhan