/swc-react-template

Template for a React App powered by SWC (speedy web compiler).

Primary LanguageJavaScriptMIT LicenseMIT

SWC React Template

A template for quickly getting a React project up and running using the SWC compiler.

Installing

Please refer to the installation section of the SWC project website. It contains appropriate installation instructions based on the operating system you are using.

Getting Started

Start by cloning this repository.

git clone https://github.com/LukeGeneva/swc-react-template.git <your-project-path>
cd <your-project-path>

Remove the .git directory and then initialize your own.

rm -rf .git
git init

You can alter the package.json file to suit your needs. This may be as simple as running:

npm init

Install packages

npm install

The template uses webpack and comes packaged with webpack-dev-server. You can start the dev server by running:

npm start

Contributing

PRs welcome! 😃

License

This project is licensed under the MIT License - see the LICENSE.md file for details