react-website-starter
react-website-starter copied to clipboard
Simple setup for websites built in React with styled-components, styled-system, and x0.
React Website Starter
Simple setup for websites built in React with styled-components 💅, styled-system 💙, and x0 😎.
Check out the demo branch to see example components with various different methods of applying styles.
Getting started
Install all the things with:
npm install
Run app with:
npm start
Build app with:
npm run build
Development and publishing
This repo uses x0 by Compositor to give you a zero-config React development environment and static site generator. This lets you get up and running quickly so you can focus on building your components, designing your website, and choosing how you want to handle styles.
By default the build script will create an index.html
file in the root directory, if you like you can publish this via GitHub Pages.
See the x0 docs for other configuration options such rendering JS bundles, changing the build directory, and using with react-router.