Skip to content
Create Project

Create Project

Posted Updated
By 廿四2 min Read

This tutorial guides you through creating a VitePress Theme Niansi project.

1. Choose an Appropriate Location

To avoid accidentally triggering unsolvable issues, please try to avoid file paths that contain Chinese characters, emojis, or spaces.

2. Create Project Template

Open the terminal in the selected folder.

Run the following commands in the terminal:

sh
$ pnpm add -D vitepress-theme-niansi vitepress@next
sh
$ npm add -D vitepress-theme-niansi vitepress@next
sh
$ yarn add -D vitepress-theme-niansi vitepress@next
sh
$ bun add -D vitepress-theme-niansi vitepress@next

After installation, execute the following commands:

sh
$ pnpm vitepress-theme-niansi init
sh
$ npx vitepress-theme-niansi init
sh
$ yarn vitepress-theme-niansi init
sh
$ bun vitepress-theme-niansi init

Changelog

2026-04-14 14:20
View All Changelog