No description
Find a file
2024-05-16 17:24:45 +08:00
.github chore: update ci file 2024-05-06 11:01:45 +08:00
.vscode feat: init repo 2024-03-13 15:17:11 +08:00
public feat: update lighthouse image 2024-05-16 16:01:44 +08:00
src feat: update hero image and remove lazy for img tag 2024-05-16 16:00:18 +08:00
.gitignore feat: init repo 2024-03-13 15:17:11 +08:00
astro.config.ts feat: update article content 2024-05-13 11:30:21 +08:00
eslint.config.js feat: init repo 2024-03-13 15:17:11 +08:00
LICENSE feat: init repo 2024-03-13 15:17:11 +08:00
package-lock.json chore: release v1.0.0-beta.2 2024-05-16 17:24:45 +08:00
package.json chore: release v1.0.0-beta.2 2024-05-16 17:24:45 +08:00
pnpm-lock.yaml feat: update hero image 2024-05-16 11:53:04 +08:00
README.md feat: update lighthouse image 2024-05-16 16:01:44 +08:00
tsconfig.json feat!: update src dir 2024-05-11 17:19:40 +08:00
uno.config.ts feat!: update src dir 2024-05-11 17:19:40 +08:00

Vitesse theme for Astro

A minimal, SEO-friendly portfolio and blog theme, supports Vue and UnoCSS.

Netlify Status

Preview

Preview Image

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

Quick Start

Deploy to Netlify Button

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 from this template on GitHub.

Usage

Just run and visit http://localhost:1977.

npn run dev

Node.js version 18 or higher is required for this project.

To build the App, you can run:

npm run build

You will then see the dist folder generated for publishing, which you can preview locally with the following command.

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:

{
  // ...
  "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:

{
  // ...
  "simple-git-hooks": {
    "pre-commit": "yarn lint-staged"
  },
  "lint-staged": {
    "*": "yarn lint:fix"
  }
}

License

MIT License © 2024-PRESENT Kaivan Wong