/snowpack-react-boilerplate

Boilerplate for building react apps with snowpack

Primary LanguageTypeScriptMIT LicenseMIT

snowpack-react-boilerplate

✨ Bootstrapped with Create Snowpack App (CSA)... and then heavily modified!

Included libraries

  • snowpack@next (v3.0.0-rc.1)
  • typescript (v4)
  • react-router-dom@next (v6.0.0-beta.0)
  • theme-ui@next (v0.6.0-alpha.1)
  • @emotion/react (v11)
  • @emotion/styled (v11)

Available Scripts

yarn start

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

The page will reload if you make edits. You will also see any lint errors in the console.

yarn build

Builds a static copy of your site to the build/ folder. Your app is ready to be deployed!

For the best production performance: Add a build bundler plugin like "@snowpack/plugin-webpack" to your snowpack.config.js config file.

yarn test

Launches the application test runner. Run with the --watch flag (npm test -- --watch) to run in interactive watch mode.