Skip to content

jonyonson/react-starter

Repository files navigation

This project was bundled with Parcel.

Available Scripts

In the project directory, you can run:

yarn start

Runs parcel src/index.html

Runs the app in the development mode.
Open http://localhost:1234 to view it in the browser.

yarn build

Runs parcel build src/index.html

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

yarn clear-build-cache

Runs rm -rf .cache/ dist/

Removes the .cache and dist folders.

Adding SCSS

SCSS compilation needs sass (JS version of dart-sass) module. To install it with yarn, run:

yarn add -D sass

Once you have sass installed you can import SCSS files from JavaScript files.

import './custom.scss';

You can also directly include the SCSS file in a HTML file.

<link rel="stylesheet" href="./style.scss" />

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published