npm i
npm install -D tailwindcss postcss autoprefixer
>>
npx tailwindcss init -p
// tailwind.config.js
content: ['./src/**/*.{html,js,svelte,ts}'],
/* src/app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;
// svelte.config.js
alias: {
"@/*": "src/*"
}
npm i -D daisyui@latest
npm i -D @sveltejs/adapter-cloudflare
// svelte.config.js
import adapter from '@sveltejs/adapter-cloudflare';
///...
dapter: adapter();
// src/app.d.ts
interface Platform {
env: {
URL: KVNamespace;
};
}