Sweet & Powerful SvelteKit Blog Template.
npx degit importantimport/urara [blog-name]
This template recommends using pnpm and @antfu/ni. start a development server:
# http://localhost:3000
nr dev
or listen to different IP and port:
# http://0.0.0.0:3000
nr dev --host 0.0.0.0
# http://0.0.0.0:8080
nr dev --host 0.0.0.0 --port 8080
nr build
or use the specified adapter:
# Vercel
VERCEL=true nr build
# Cloudflare Pages
CF_PAGES=true nr build
# Netlify
NETLIFY=true nr build
This template uses
@sveltejs/adapter-auto@next
and@sveltejs/adapter-static@next
by default.
when the environment supported by adapter-auto is not detected, it will automatically fallback to adapter-static.
u can modify it to any adapter supported by SvelteKit. see SvelteKit Docs
u can preview the built app with
nr preview
, regardless of whether u installed an adapter. This should not be used to serve ur app in production.
and more...
are u using Urara? add the urara-blog
topic on ur repo!
This work is free, it comes without any warranty. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.
special thanks / inspired from:
credits:
- icons made by Freepik from www.flaticon.com