0.11.0 • Published 4 years ago
@kogk/common v0.11.0
@kogk/common-components
Modified from: Harvey Delaney ▸
Development
Testing
npm run test:watchBuilding
npm run buildHandy
npm run generate YourComponentNameThis will generate:
/src
/YourComponentName
YourComponentName.tsx
YourComponentName.test.tsx
YourComponentName.types.tsThe default templates for each file can be modified under util/templates.
Don't forget to add the component to your index.ts exports if you want the library to export the component!
Can I code split my components?
Yes you can.
Read this section of my blog post to find out how.
Or check out this commit to see what changes are neccesary to implement it.