背景
利用create-react-app创建React项目,并搭配使用Storybook + Ant Design(如果想了解Storybook在React中如何使用,可以点击
这里
),package.json主要信息如下:
"dependencies": {
"antd": "^3.16.3",
"babel-polyfill": "^6.26.0",
"mobx": "^5.9.4",
"mobx-react": "^5.4.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-loadable": "^5.5.0",
"react-router-dom": "^5.0.0",
"react-scripts": "2.1.8",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.8",
"@storybook/addon-links": "^3.4.8",
"@storybook/addons&
版权声明:本文为qq_38054239原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。