/typescript-react-scss-modules-template

bundles typescript, scss modules, and react using parceljs for a productive and fast dev experience

Primary LanguageHTML

Typescript SCSS Modules React Template

Installing

git clone https://github.com/jsnelgro/typescript-react-scss-modules-template my-cool-project
cd my-cool-project
rm -rf .git

npm install

Running

npm start
# visit http://localhost:1234

Code Structure

Everything is in src. Example of a self contained component is in src/components/Button

Compilation of javascript and assets

typescript compiler (preserve jsx) -> babel compiler -> parcel bundler -> html/css/js