Donut's template for Reactjs

twitter logo github logo Updated on ・1 min read

Alt Text

 npx create-react-app donut --template donuts
 // Or
 yarn init react-app my-app --template donuts

Donut Template is a preconfigured template for reactjs applications.

  • Default route setting

  • Folder Structure

  • Absolute routes set, use alias '@' to import your files

  • Styles with Styled Components

Alt Text

The template comes pre-configured with superdonuts, the CLI for quick setup and file generation.


// 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

twitter logo DISCUSS (1)
Classic DEV Post from Nov 23 '19

Who are your favorite writers here on DEV?

Who are some people whose posts on DEV you particularly enjoy?

Bruno Andrade profile image
FullStack Developer