Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

🔊: MAINTAINER NEEDED
Currently, I'm not focusing on this project anymore. Since it a little bit out of date and Vue.js 3 is coming soon next year, if you're also interested in this theme, please contact me and I'll transfer this repo to you.

hexo-theme-amber

Build Status juejin MIT License

Hexo theme based on Vue.js and Bootstrap for mitscherlich.me.

Preview

Language: 🇺🇸🇨🇳

⚠️ Note: This theme cannot be use as a individual Vue.js spa. You need to setup a Hexo blog.

Install

via this repo:

$ git clone https://github.com/Mitscherlich/hexo-theme-amber.git themes/amber

Then modify you _config.yml:

# ...
## Theme
theme: amber  # this enable your theme config
# ...

Enjoy your writing!

$ hexo clean && hexo serve

Develop

This theme provide prebuild static assets on default branch. You may need to checkout develop branch if you want to custom the theme. There is no difference with Vue development you are familiar with:

$ git clone https://github.com/Mitscherlich/hexo-theme-amber.git -b develop themes/amber-dev
$ cd themes/amber-dev && npm install # Also, yarn will be ok

Just follow the installation, but notice that you have to run both hexo serve and yarn serve at the same time. Otherwise you will not get the posts data.

$ cd /path/to/blog/theme/amber-dev
$ yarn serve

Then open another terminal:

$ cd /path/to/blog
$ hexo clean && hexo serve --port 4000

Note: hexo server must running on port 4000. You may need to modifiy the vue.config.js under theme root if using other specific port.

License

MIT