Git Product home page Git Product logo

devlog's Introduction

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

devlog's People

Contributors

hhofner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.