Skip to content

luoyelusheng/umi-plugin-eruda

Repository files navigation

umi-plugin-eruda

NPM version NPM downloads

config umi debug

Install

# or yarn
$ npm install
$ npm run build --watch
$ npm run start

Usage

Configure in .umirc.js,

export default {
  plugins: [
    ['umi-plugin-eruda'],
  ],
  eruda: {
    init: {},
    scale: 2,
    position: {},
    tools: [],
    hidden:false,
    debug: true
  },
}

Options

hidden 优先级最高,表示隐藏 eruda,同时设置 debug 默认无效
debug 在生产环境下打开调试 eruda,默认只在开发环境显示 eruda

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published