A hacker news app built in svelte
TODO
npm create svelte@latest myapp
cd myapp
npm install
git init && git add -A && git commit -m "Initial commit"
npm run dev -- --open
https://tailwindcss.com/docs/guides/sveltekit
8-steps
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p
npm i -D daisyui@latest
then add to tailwind.config.js
plugins: [
require('daisyui'),
],
Finally go to daisyui and make a theme. Paste it into the file above and check its working. Theme changer is useful -> https://github.com/saadeghi/theme-change