LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vitepress

Vite-powered static site generator

TLDR

Start development server
$ vitepress dev [docs]
copy
Build for production
$ vitepress build [docs]
copy
Preview production build
$ vitepress preview [docs]
copy
Initialize new project
$ vitepress init
copy
Start in current directory
$ vitepress
copy

SYNOPSIS

vitepress [command] [root] [options]

DESCRIPTION

VitePress is a static site generator powered by Vite and Vue.js. It is designed for documentation websites, providing fast development experience with hot module replacement and optimized production builds.Content is written in Markdown with Vue component support. The tool generates SEO-friendly static HTML pages that hydrate into a single-page application on load.Configuration is done through a .vitepress/config.js file. Themes can be customized or replaced entirely. Built-in features include navigation, sidebar, search, and dark mode.VitePress is the spiritual successor to VuePress, rebuilt on top of Vite for improved performance.Install via npm: `npm add -D vitepress`

PARAMETERS

root

Project root directory (default: current directory).
--host host
Development server host (default: localhost).
--port port
Development server port (default: 5173).
--base path
Public base path.
--cors
Enable CORS.
--strictPort
Exit if port is in use.
--force
Force optimizer to ignore cache.
--minify
Enable minification (build only).
--mpa
Multi-page app mode.
-h, --help
Display help.
-v, --version
Display version.

COMMANDS

dev root: Start development server with hot reload.build root: Build static site for production.preview root: Preview production build locally.init: Initialize new VitePress project.

CAVEATS

Requires Node.js 18+. Vue 3 only (not compatible with Vue 2). Custom themes require Vue knowledge. Large sites may have longer build times.

HISTORY

VitePress was created by Evan You (creator of Vue.js and Vite) as a modern replacement for VuePress. It leverages Vite's fast development server and build optimizations. The project is maintained by the Vue.js team.

SEE ALSO

vite(1), vuepress(1), hugo(1), jekyll(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid