@aaa-ncnu/common-react-components 中文文档教程
Common React Components
Smart Webfont
由于 CORS 问题,为了正确加载 Smart webfont,您需要将以下内容添加到您的
/etc/hosts:127.0.0.1 local.mwg.aaa.com
然后,您可以导航到local.mwg.aaa.com:9001查看
Unit testing
这个项目使用了jest
,会运行对每个构建或使用 npm test
进行单元测试。
Common React Components
Smart Webfont
Due to CORS issues, in order to properly load the Smart webfont, you will need to add the following to your /etc/hosts:
127.0.0.1 local.mwg.aaa.com
Afterwards, you can navigate to local.mwg.aaa.com:9001 to view
Unit testing
This project uses jest
and will run unit tests on each build or with npm test
.