A template for quickly getting a React project up and running using the SWC compiler.
Please refer to the installation section of the SWC project website. It contains appropriate installation instructions based on the operating system you are using.
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
PRs welcome! 😃
This project is licensed under the MIT License - see the LICENSE.md file for details