A Vite template for javascript react apps using react-bootstrap and redux-toolkit.
If you haven't already, globally install vite
and degit
:
npm install -g vite degit
# or
yarn global add vite degit
Then, to create a new project based on this template:
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js my-app
Navigate to the new directory and install dependencies, and start the dev server:
cd my-app
npm install
npm run dev
# or
cd my-app
yarn
yarn dev
Different branches offer different options for the template; each stack offers slightly different FE tooling.
React, Bootstrap, and Redux Toolkit (rbrt) single page application (spa).
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js my-app
# or
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js#rbrt-spa my-app
React, Bootstrap, and Redux Toolkit (rbrt) multi page application (mpa).
- rbrt-spa + React Router DOM
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js#rbrt-mpa my-app
GitHub Pages, React, Bootstrap, and Redux Toolkit (grbrt) single page application (spa).
- rbrt-spa + GitHub Pages
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js#grbrt-spa my-app
GitHub Pages, React, Bootstrap, and Redux Toolkit (grbrt) multi page application (mpa).
- rbrt-mpa + GitHub Pages
npx degit accessitech/vite-react-bootstrap-redux-toolkit-js#grbrt-mpa my-app