To get a local copy of the code, clone it using git:
git clone https://github.com/DigitalWand/rtk_query_demo
cd rtk_query_demo
Install dependencies:
yarn
Now, you can start a local web server by running:
yarn run dev
And then open http://localhost:5173/ to view it in the browser.
In this project, you can run the following scripts:
Script | Description |
---|---|
yarn run dev | Runs the app in the development mode. |
yarn run build | Builds the app for production to the dist folder. |
yarn run server | Runs json-server |