Install meteorjs with svelte, tailwind & daisyui


Make sure you have installed node 14.x.x If you need multiple node in the system, you can use VOLTA node version manager Also, make sure you have installed meteor globally already
npm install -g meteor
Create new METEOR project
Create a folder & open CMD
meteor create --svelte . --prototype
This will create a meteor app with the dependency of svelte in the current directory
meteor create --svelte mToDoApp --prototype
This will create a meteor app with the dependency of svelte by creating a folder named “mToDoApp” inside the current directory
Install tailwindcss
meteor npm install tailwindcss postcss autoprefixer postcss-load-config
Create the tailwind config file
npx tailwindcss init -p
Modify content rule on tailwind.config.js file
content: [
"./imports/ui/**/*.{js,jsx,ts,tsx,svelte,html}",
"./client/*.html",
],
Modify main.css
@tailwind base;
@tailwind components;
@tailwind utilities;
Install daisyUi
meteor npm i daisyui
Configure daisyui with the tailwind using tailwind.config.js
plugins: [require('daisyui')],

Struggle to choose between Shadcn svelte and daisyUI? Don't! This guide shows you how to install and configure both in SvelteKit for a powerful, flexible UI stack.

Learn how to implement robust search and a complete blog system in your custom Shopify theme using Liquid. The essential Part 2 guide

Improve caching and performance in SvelteKit by importing images from src/lib instead of static. Learn why and how this approach works.