Pages

Monday, 2 December 2024

安装基于nuxt的静态博客程序 nuxt-blog-by-chansee97

 登录linux vps.

首先安装nodejs环境和pnpm.

git clone https://github.com/chansee97/nuxt-blog nuxt-blog-by-chansee97

cd nuxt-blog-by-chansee97

pnpm install

pnpm build

显示:

...

✔ You can preview this build using node .output/server/index.mjs

 root@racknerd-626f077:~/nuxt-blog-by-chansee97# cd .output/server/

root@racknerd-626f077:~/nuxt-blog-by-chansee97/.output/server# ls
chunks  index.mjs  index.mjs.map  node_modules  package.json
root@racknerd-626f077:~/nuxt-blog-by-chansee97/.output/server# node index.mjs


 

 


 

项目地址:https://github.com/chansee97/nuxt-blog

程序作者的示范网站:https://chansee-nuxt-blog.netlify.app/blog

No comments:

Post a Comment