A lightweight batteries-included template for React apps.
- Node v18.14.2
- npm v9.5.0
npm ci
npm run start
npm run build
Create ./.env.local
file to modify environment variables locally, this file will take precedence over ./.env
which is intended for production.
npm run lint
- Change project name in
./package.json
file. - Replace all occurrences of
vauquita
to new name in all.js
and.jsx
files (i.e. replacefrom 'vauquita/
tofrom 'my-amazing-project/
). - Run
npm run nuke
.
You'll now be able to import by doing import { someComponent } from 'my-amazing-project/components'
, given that someComponent
was added to src/components/index.js
accordingly.
npx rimraf .git && git init
Refer to webpack's documentation to add file types (e.g. add support for mp4
files) or customize building.