Demo 1 (frontend)#
Clone locally#
SvelteKit & GraphQL client with SSR & caching
Notes:
- I'm using volta as node manager.
- If you have it, when you will run
yarn
(to install everything), volta will grab the version of node and yarn specified in thepackage.json
. - If you don't have it, you will have to install node (>=16) and yarn (or other package managers) yourself.
- If you have it, when you will run
- I'm using
yarn
as package manager.- In
yarn.lock
you are able to see pinned versions of dependencies. (I'm trying to be always up to date) - You can use other package managers, but you will need to adapt some scripts (
prepare
and thewatchAndRun
vite plugin.)
- In
# Get the first demo app (will create a folder: kitql-demo1)
npx degit github:jycouet/kitql/examples/demo1 kitql-demo1
# Navigate to the new folder
cd kitql-demo1
# Install everything
yarn
# Run the app ⚡⚡⚡
yarn dev