About
A minimalist blog template
npm install -g pnpm)git clone https://github.com/Motues/Momo.git
cd Momo
pnpm install to install dependenciespnpm dev to start the development serverRefer to the Configuration Guide, detailed information can be found at Momo.
All commands below can be executed in the root directory
| Command | Function |
|---|---|
pnpm install | Install dependencies |
pnpm dev | Start local server at http://localhost:4321 |
pnpm build | Build release version to ./dist directory |
pnpm preview | Preview built release version |
pnpm astro ... | Run astro commands, e.g., astro add |
pnpm new <path> <lang> | Create a new article, e.g., pnpm new docs/test.md zh-cn, the language can be omitted, defaulting to zh-cn |