Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kieranwv/astro-theme-vitesse
A minimal, SEO-friendly portfolio and blog theme for Astro, supports Vue and UnoCSS.
https://github.com/kieranwv/astro-theme-vitesse
astro blog eslint lodash md mdx portfolio rss seo-friendly template unocss vitesse vue vueuse
Last synced: about 17 hours ago
JSON representation
A minimal, SEO-friendly portfolio and blog theme for Astro, supports Vue and UnoCSS.
- Host: GitHub
- URL: https://github.com/kieranwv/astro-theme-vitesse
- Owner: kieranwv
- License: mit
- Created: 2024-02-22T06:07:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T03:30:05.000Z (9 days ago)
- Last Synced: 2025-01-14T09:08:08.922Z (8 days ago)
- Topics: astro, blog, eslint, lodash, md, mdx, portfolio, rss, seo-friendly, template, unocss, vitesse, vue, vueuse
- Language: Vue
- Homepage: https://astro-theme-vitesse.netlify.app/
- Size: 1.33 MB
- Stars: 103
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Vitesse theme for Astro
A minimal, SEO-friendly portfolio and blog theme for Astro, supports Vue and UnoCSS.
[![Netlify Status](https://api.netlify.com/api/v1/badges/0624323a-339f-48da-8b28-03037d664c40/deploy-status)](https://app.netlify.com/sites/astro-theme-vitesse/deploys)
## Preview
![Preview Image](./public/preview.jpg)
## Features
- 100 / 100 Lighthouse performance.
- Responsive.
- SEO-friendly.
- Light / Dark Theme.
- Markdown support.
- MDX (components in your markdown) support.
- Vue SFC component support.
- Auto generated sitemap and RSS Feed VueUse & Lodash support.
- Use the UnoCSS for style, it's fast.## Lighthouse Performance
![Lighthouse Performance Image](./public/lighthouse.jpg)
## Quick Start
[![Deploy to Netlify Button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/kevinwong865/astro-theme-vitesse)
Click this button, it will create a new repo for you that looks exactly like this one, and sets that repo up immediately for deployment on Netlify.
If you just want to develop locally, you can [create a repo](https://github.com/kevinwong865/astro-theme-vitesse/generate) from this template on GitHub.
## Usage
First, install the dependencies.
```bash
npm install
```Just run and visit http://localhost:1977.
```bash
npm run dev
```> Node.js version 18 or higher is required for this project.
To build the App, you can run:
```bash
npm run build
```You will then see the `dist` folder generated for publishing, which you can preview locally with the following command.
```bash
npm run preview
```## Use pnpm / yarn
If you want to use pnpm or yarn as a package management tool, please refer to the following steps.
> If `preinstall` exists in `scripts`, remove it first.
### pnpm
Replace `"pre-commit": "npx lint-staged"` in package.json with `"pre-commit": "pnpm lint-staged"`.
And replace `"*": "npm run lint:fix"` with `"*": "pnpm lint:fix"`.
Like this:
```json
{
// ...
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "pnpm lint:fix"
}
}
```### yarn
Replace `"pre-commit": "npx lint-staged"` in package.json with `"pre-commit": "yarn lint-staged"`.
And replace `"*": "npm run lint:fix"` with `"*": "yarn lint:fix"`.
Like this:
```json
{
// ...
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"*": "yarn lint:fix"
}
}
```## License
[MIT License](./LICENSE) © 2024 [Kieran Wang](https://github.com/kieranwv/)