Skip to content

Instantly share code, notes, and snippets.

@adricasti
Created November 25, 2021 16:45
Show Gist options
  • Save adricasti/a3e28b277d1c89ad9bc94f9290c9f29a to your computer and use it in GitHub Desktop.
Save adricasti/a3e28b277d1c89ad9bc94f9290c9f29a to your computer and use it in GitHub Desktop.
Svelte Boilerplate

New Svelte App with Material UI

npm init svelte@next my-app
cd my-app
npm install

Add Material UI

npm install --save-dev @smui/button
npm install --save-dev @smui/card
#etc

npm smui-theme template src/theme

Add scripts and links as described in the Svelte Material UI Documentation

npm run prepare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment