A modern starter template for building web applications with Meteor.js, Svelte 5, Vite, and TailwindCSS.
Create a new project using this template:
git clone https://your-repo/meteor-svelte-vite-starter my-app
cd my-app
rm -rf .git
git init
Install dependencies:
meteor npm install
Start the development server:
meteor npm start
/client
- Client-side entry point/server
- Server-side entry point/imports
- Application code/ui
- Svelte components/api
- Collections and methods/startup
- Initialization codenpm start
- Start development servernpm run lint
- Run ESLintnpm run format
- Run Prettiernpm run check
- Run both lint and formatmeteor build --directory ./build
cd build/bundle
(cd programs/server && npm install)
NODE_ENV=production PORT=3000 MONGO_URL=mongodb://localhost:27017/yourapp ROOT_URL=http://localhost:3000 node main.js