Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.19 KB

README.md

File metadata and controls

26 lines (14 loc) · 1.19 KB

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.