A minimal, lab-style Svelte + Vite + Tailwind CSS project with a simple button and input form.
A experimental playground built with:
Live demo: https://andreisugu.github.io/mySveltePlayground/
src/
├── App.svelte # Main component with input + button
├── main.js # Entry point
└── app.css # Global styles with Tailwind directives
index.html # HTML entry point
vite.config.js # Vite config
tailwind.config.js # Tailwind config
svelte.config.js # Svelte config
npm install
npm run dev
This starts a dev server at http://localhost:5173/
npm run build
Output goes to dist/
The site automatically deploys to GitHub Pages when you push to main via GitHub Actions.
The workflow builds the project and pushes to the gh-pages branch.
Want to add more components? Create .svelte files in src/lib/ and import them into App.svelte.
Modify App.svelte to experiment with:
MIT - See LICENSE for details