Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dshuais/homepage
一个基于 docus 的 Static Site Generator, 我也用它来当作是个人主页.
https://github.com/dshuais/homepage
bolg homepage nuxt nuxt-theme site static-site-generator
Last synced: 1 day ago
JSON representation
一个基于 docus 的 Static Site Generator, 我也用它来当作是个人主页.
- Host: GitHub
- URL: https://github.com/dshuais/homepage
- Owner: dshuais
- Created: 2024-01-17T08:00:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-15T09:52:11.000Z (9 months ago)
- Last Synced: 2024-03-15T10:53:33.714Z (9 months ago)
- Topics: bolg, homepage, nuxt, nuxt-theme, site, static-site-generator
- Language: Vue
- Homepage: https://homepage.dshuais.com/
- Size: 1.82 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docus Starter
Starter template for [Docus](https://docus.dev).
## Clone
Clone the repository (using `nuxi`):
```bash
npx nuxi init -t themes/docus
```## Setup
Install dependencies:
```bash
yarn install
```## Development
```bash
yarn dev
```## Edge Side Rendering
Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.
Look at all the available presets [here](https://nuxt.com/docs/getting-started/deployment#presets).
```bash
yarn build
```## Static Generation
Use the `generate` command to build your application.
The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.
```bash
yarn generate
```## Preview build
You might want to preview the result of your build locally, to do so, run the following command:
```bash
yarn preview
```---
For a detailed explanation of how things work, check out [Docus](https://docus.dev).