UNPKG

cra-template-donuts

Version:
38 lines (23 loc) 851 B
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/5puz8di7rf5yq16extue.png) ```bash npx create-react-app donut --template donuts // Or yarn init react-app my-app --template donuts ``` Donut Template is a preconfigured template for reacjs applications. - Default route setting - Folder Structure - Absolute routes set, use alias '@' to import your files - Styles with Styled Components ![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/bw6v5kkfluve6eib2q6i.png) The template comes pre-configured with superdonuts, the CLI for quick setup and file generation. #### Commands ```bash // Configure Eslint yarn run superdonut configure:eslint // Create Component yarn run superdonut generate:component MyComponent // Create Page yarn run superdonut generate:page Main ``` [Learn More](https://www.npmjs.com/package/superdonut)