Add Yumma CSS in Svelte
-
Install Yumma CSS:
Install the Yumma CSS Library using a package manager.
-
Add
yummacss
to your main CSS file:Create a new
/src/global.css
file -
Import the CSS file
Create a
/src/routes/+layout.svelte
file -
Getting ready for development:
Start your application using
npm run dev
. -
Use Yumma CSS in your project:
You’re all set to start using Yumma CSS utility classes in your project.
Still stuck?
If you’re having trouble with Yumma CSS, clone this Svelte example.