Skip to content
blog with ssr
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
assets
components
layouts
middleware
pages
plugins
static
store
utils
.editorconfig
.eslintrc.js
.gitignore
LICENSE
README.md
config.json
nuxt.config.js
package.json

README.md

nuxt-blog

this is a blog project, which is based on server side render.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

Usage

  • modify the config.json in the root directory

    • blogTitle: web page title
    • blogDescription: web page description
    • blogKeyword: web page keyword
    • repo: your github repository with markdown in it
    • path: the path of your markdown
    • branch: your github repository branch
  • add your favicon to the /static

  • deploy

    • server side render:
    npm run build
    
    npm start
    • static page:
    npm run generate

    all the static resources are in the /dist

License

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.