Package Exports
- @fc-components/menu
- @fc-components/menu/src/index.tsx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fc-components/menu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@fc-components/menu
The menu component used for flashcat and n9e.
Usage
https://github.com/n9e/fe-v5/blob/master/src/components/menu/index.tsx#L306
Type
目前有两种菜单模式,CollapseFcMenu(折叠菜单), FloatFcMenu(浮动菜单)
Publish
npm publish --access publichow to debugger
方法 1:link 进去
//在本项目中
sudo npm link
//在fe-v5或fc-saas-web中
npm link @fc-components/menu方法 2:相对路径引入
import { FloatFcMenu, CollapseFcMenu } from '../../../../fc-menu/src';