ENGLISH | 简体中文
A simple blog project.
This repository contains:
- Custom error capture page
yamlparse article informationmarkdownparse.SEOrelated auxiliary.
A programmer wants to build a blog with Next.js and TailwindCSS.
This project uses node and npm. Go check them out if you don't have them locally installed.
git clone https://github.com/Coke-Code/Blog.git- Configure upstashRedis to store access volume data, configure
.envto add variablesUPSTASH_REDIS_REST_URLandUPSTASH_REDIS_REST_TOKEN. - Optional Configure beam to count access volume. Configure
.envto add variablesBEAM_TOKEN.
npm:
# Development debugging
$ npm run dev
# Build package
$ npm run build
# Local start
$ npm run start
# Format code
$ npm run lintyarn:
# Development debugging
$ yarn dev
# Build package
$ yarn build
# Local start
$ yarn start
# Format code
$ yarn lintpnpm:
# Development debugging
$ pnpm dev
# Build package
$ pnpm build
# Local start
$ pnpm start
# Format code
$ pnpm lintFeel free to dive in! Open an issue or submit PRs.
Standard Readme follows the Contributor Covenant Code of Conduct.
This project exists thanks to all the people who contribute.
MIT © Coke-Code