This is a template project based on Restent's homepage.
Important
Vite requires Node.js version 18 or upper. We suggest using Node.js 20 LTS.
- Clone this repository;
- Run
bun i
; - Run
bun run build
; - Check static artifacts at folder
dist
.
We normally use Bun as our package manager. If you want to use pnpm, delete
bun.lockb
and runpnpm i
.
For the main content, you should modify src/components/Main.vue
.
For CSS, you should modify src/style.css
.
We use UnoCSS and its transformer "Transformer Directives". You can use CSS rules from Tailwind CSS and Windi CSS, and also use directives like
@apply
(use--apply
in Vanilla CSS),@screen
andtheme()
.
For SEO and Meta, we use Unhead to manage our document head, you can modify its composables useHead()
and useSeoMeta()
in src/App.vue
.
© 2019 - Present Restent Ou. This project is under MIT License.