@giteeteam/apps-team-components
v1.11.15
Published
Gitee team components
Keywords
Readme
@giteeteam/apps-team-components
- gitee team components
安装
pnpm i使用注意
插件使用需要加上speedy:false,防止切换应用时css会丢失。
import { LibraryProvider } from "@giteeteam/apps-team-components";
const Demo = ({children}) => {
return (
<LibraryProvider emotionCacheOptions={{ key: "appKey", speedy: false }}>
{children}
</LibraryProvider>
)
}预览
开发前务必先阅读预览首页文档
pnpm storybook本地调试
- proxima 主库中将 package.json 中 @giteeteam/apps-team-components 改为本地路径,并执行
pnpm install
- "@giteeteam/apps-team-components": "1.6.0",
+ "@giteeteam/apps-team-components": "file:../giteeteam-components",注:不要用 pnpm link,主库的依赖都引用自己的
- 在本代码库执行
pnpm dev
版本对应
| 组件库版本 | team版本 | | --| -- | | 1.11.x | >=4.43.0 | | 1.10.x | >=4.40.0 | | 1.9.x | >=4.38.0 | | 1.8.x | >=4.36.0 | | 1.7.x | >=4.30.0 | | 1.6.x | >=4.29.0 | | 1.5.x | >=4.27.0 | | 1.4.x | >=4.24.0 | | 1.3.x | >=4.23.0 | | 1.2.x | >=4.21.0 | | 1.1.x | >=4.16.0 |
