@alitajs/umi-plugin-main-path

0.0.1 • Public • Published

umi-plugin-main-path

NPM version

reset main path

安装

// npm
npm install --dev @alitajs/umi-plugin-main-path

// yarn 
yarn add --dev @alitajs/umi-plugin-main-path

使用

// .umirc.ts || config/config.ts

const config = {
  mainPath: 'login'
  plugins: [
    ['@alitajs/umi-plugin-main-path']
  ]
};

export default config;

/@alitajs/umi-plugin-main-path/

    Package Sidebar

    Install

    npm i @alitajs/umi-plugin-main-path

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • pengyh
    • ashoka_j
    • diyc
    • xiaohuoni
    • imhele
    • wangxingkang
    • shawdanon
    • cjy0208
    • sorrycc
    • hang1017
    • hammersjs