Skip to content

boycot2015/byt.blog-pc

Repository files navigation

nuxt-blog

English | 中文

个人博客

个人博客

技术栈

  • 服务端渲染框架 - Nuxt3
  • mysql
  • Vue3
  • Vite

启动

安装依赖

# node 16.x
pnpm install

创建环境变量 .env:

NUXT_PUBLIC_HELLO_TEXT="Hello world!"

启动项目

Start the development server on http://localhost:3000:

pnpm dev

打包生产环境

pnpm build

环境部署

部署在NuxtHub上

npx nuxthub deploy

部署在Vercel边缘服务器上

安装 Vercel CLI

npm install -g vercel

Vercel 打包生产环境

vercel build --prod

打开vercel配置环境变量 preset

PRESET=vercel-edge

About

nuxt3重构blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages