xdad
v1.0.26
Published
## Getting Started
Downloads
66
Readme
xiaodun-antd-design
Getting Started
How to add components and publish
- Run the script
npm run plop <folder-name> <components-name>;
folder-name: src//index.tsx components-name: The components name and import/export name (The first letter is capitalized);
eg: npm run plop test-app TestApp
Then you will see this in /src:
- src
- test-app
- style
- index.less
- demos
- index.tsx
- test.tsx (const TestApp = ()=>{return ()})
- index.md
- style
- test-app
npm run patch (1.x.0 -> 1.x.1)
git push the code
run npm publish
Install dependencies,
$ npm installStart the dev server,
$ npm startBuild documentation,
$ npm run docs:buildRun test,
$ npm testBuild library via father-build,
$ npm run build