Install Svelte-kit Efficiently (svelte-kit + vite + tailwindcss + daisyui)


NOTE: Svelte-kit requires updated node js in the system
npm create svelte@latest .or Runnpm create svelte@latest my-appThis will create the project on the current directory npm i npm run dev -- --dev npx svelte-add@latest tailwindcss npm i daisyui const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},
plugins: [require('daisyui')]
};
module.exports = config;Open app.html then add the theme to html language tagIf you want dark theme of daisyui then<html data-theme="dark"></html> npm run dev -- --host