broccolini / react-website-starter

Simple setup for websites built in React with styled-components, styled-system, and x0.

Home Page:http://broccolini.net/react-website-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Simple setup for websites built in React with styled-components, styled-system, and x0.

http://broccolini.net/react-website-starter/


Languages

Language:JavaScript 100.0%