Important
BunBlog has been discontinued. You can use the Migration Tool to migrate existing content to Bammemo.
A blog front end site developed using Nuxt.js. Welcome to my Blog(Bun Dev Blog) https://bun.plus
Please note, this project required a server side program BunBlog.API to provider data
docker push huhubun/bunblog.ui
# install dependencies
$ npm install
# serve with hot reload at localhost:17088
$ npm run dev
BASE_URL=
BROWSER_BASE_URL=
CLIENT_JS_PATH=
First, run npm run build
to generate client and server code
$ npm install
$ npm run build
You will see the .nuxt
folder generated.
Then copy the following to the server
.nuxt
folderserver
foldersitemap
folderstatic
foldernuxt.config.js
filepackage.json
file
And upload the /.nuxt/dist/client/
folder to CDN https://cdn.bun.plus/blog/client/
Finally, execute the following code on the server
npm install
pm2 start -n bunblog ./node_modules/nuxt/bin/nuxt.js -- start
set nuxt.config.js
build: {
analyze: true;
}
npx nuxt build --analyze