Newsletter For A Template
Join the Community For A Template
Subscribe to A Template newsletter for the latest news and updates
Astro theme for building SEO-friendly portfolio and blog websites with Vue, UnoCSS, MDX, sitemap and RSS feed generation.
NoGeek offers technical consulting, coaching, and products for CTOs, architects, and entrepreneurs focusing on high concurrency and system design.
A minimal, SEO-friendly portfolio and blog theme for Astro, supports Vue and UnoCSS.
First, install the dependencies:
npm install
Just run and visit http://localhost:1977
.
npm 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
If you want to use pnpm or yarn as a package management tool, please refer to the following steps.
If
preinstall
exists inscripts
, remove it first.
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"
}
}
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"
}
}