Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.01 KB

README.md

File metadata and controls

66 lines (49 loc) · 1.01 KB

Introduction

vitepress-i18n-template is a VitePress template with i18n support by default. Preview

Features

  • I18n messages
  • Less code
  • Flexible and easily scalable

Quick start

Installation

pnpm install

Running

pnpm docs:dev

Build

pnpm docs:build

and preview it locally:

pnpm docs:preview

I18n

Docs Directory Structure

├── src
│   ├── index.md
│   ├── fr
│   │   └── index.md
│   └── zh
│       └── index.md

Config and Messages

├── config
│   ├── common.mts
│   ├── en.mts
│   ├── fr.mts
│   ├── index.mts
│   └── zh.mts
├── i18n
│   ├── en.json
│   ├── fr.json
│   ├── index.ts
│   └── zh.json

License

MIT