Trying out SvelteKit with Rick and Morty API (https://rickandmortyapi.com/) and trying to use sass as styling.
This is a simple example of how to use SvelteKit with Rick and Morty API.
Install the dependencies...
cd rick-and-morty-sveltekit
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5731. You should see your app running. Edit a component file in src
, save it, and the page will reload.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
.
This project is ready to be deployed to Vercel
Ready on RickAndMortySvelteKit