WARNING: This will install an early preview build of Skeleton v3 using Svelte 5. Please be aware that some features may be missing, incomplete, or non-functional at this time. Report bugs and issues to GitHub or Discord.
Create a Project
Start by creating a new Svelte 5 project using create-svelte
:
Install Skeleton
Install the Skeleton core and Skeleton Svelte packages.
Install Tailwind
Install Tailwind using Svelte-Add to automate the process.
NOTE: if you see “something went wrong”, everything will work as expected. Please proceed to the next step.
Configure Tailwind
You may optionally install the @types/node
package to prevent LSP errors in your Tailwind config.
Open tailwind.config
in the root of your project and make these changes:
Set Active Theme
Open /src/app.html
, then set the data-theme
attribute on the body to define the active theme.
Ready
You’re now ready to begin using Skeleton.