Starter template should help get you started developing with Svelte in Vite with Tailwind CSS and Routify applied.
npx degit yumoodev/template-svelte-routify project-name
cd project-name
npm install && npm run dev
/
āāā .routify/
āāā dist/
āāā public/
āāā src/
āāā assets/
āāā lib/
āāā pages/
š dist is the build output (yout're not going to see it until you run npm run build)
š public is where you keep your public files such as images and your favicon
š src is where you keep your source files
š assets and lib are for your assets and components
š pages is where your define the routes
v2.18.5
3.48.0
3.0.24
v2.9.9
1.0.0-next.44
Install vercel
if you haven't already:
npm install -g vercel
Then, from within your project folder:
cd dist
vercel deploy --name my-project
Install surge
if you haven't already:
npm install -g surge
Then, from within your project folder:
npm run build
surge dist my-project.surge.sh