Skip to content

PrinceRajRoy/vite-react-rtkq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite + React + RTKQ Logo

MIT Badge Issues Badge

A Vite + React + Redux Toolkit Query starter template with opt-in TypeScript.

Template Structure

This boilerplate template contains the files required to get started with the newly released RTK Query with React.

vite-react-rtkq
├── node_modules
├── src
│   ├── app
│   │   └── store.js
│   ├── features
│   │   ├── Pokemon.jsx
│   │   ├── Pokemons.jsx
│   │   └── pokemonSlice.js
│   ├── App.css
│   ├── App.jsx
│   ├── favicon.svg
│   ├── index.css
│   ├── logo.svg
│   └── main.jsx
├── .gitignore
├── index.html
├── package.json
└── vite.config.js

Installation

# For JS Template
npx degit princerajroy/vite-react-rtkq/packages/template my-app
# For TS Template
npx degit princerajroy/vite-react-rtkq/packages/template-ts my-app

cd my-app
npm install

Development

# Start the local vite dev server
npm run dev

Then open http:https://localhost:3000 to view it in the browser

Production

# Generate a production build
npm run build

Preview

# Run the production build locally
npm run serve

Demo

How To

App Running Locally

LICENSE

MIT