Run the following command to add STWUI to your project:
npm i -D stwui
Modify your tailwind.config.cjs
file with the following:
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
plugins: [
require('@tailwindcss/forms'),
require('stwui/plugin')
],
darkMode: 'class',
};
Modify your app.html
file and add the following to the head
section:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />