Urara [WIP]
Sweet & Powerful SvelteKit blog template.
built with:
special thanks / inspired by:
credits:
- Icons made by Freepik from www.flaticon.com
Quick Start
GitHub
Create a repo from this template on GitHub
Local
This template recommends using pnpm and @antfu/ni.
$ nx degit importantimport/urara blog
$ cd blog
$ rm -f COPYING .github/ # remove useless file
Developing
Once you've created a project and installed dependencies with
antfu/ni
, start a development server:
nr dev
# 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
Building
This template uses @sveltejs/adapter-static@next
by default, but u can use any adapter supported by SvelteKit. more on SvelteKit Docs
MODE=production nr build
# build for 'workers' mode
MODE=workers nr build
# build for 'netlify' mode
MODE=netlify nr build
# build for 'vercel' mode
MODE=vercel nr build
You can preview the built app with
nr preview
, regardless of whether you installed an adapter. This should not be used to serve your app in production.
License
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.