vue-ghpages-blog
A blog based on GitHub pages by Vue.js 2 + Webpack 2.
一个依赖 GitHub Pages,无需本地生成的静态博客,使用了 Vue.js 2 组件开发,Webpack 2 打包。
Features
- Vue 2 / Vue-router / axios
- Webpack 2.2 / Babel 6 / Stylus
- No need to generate locally ( now using TravisCI )
- Hosting on GitHub Pages
- SessionStorage cache
Demo
Develop
Note: src/conf.json
points the configurations of my personal blog. If you fork this repository, modify it first.
# Install dependencies
npm install
# Develop with hot reload
npm run dev
# Lint and Test
npm run test
Vue 1.x version
For the Vue 1.x version, please see the vue-1 branch.
About My Workflow
- All the posts are stored in viko16/writings, while
src/conf.json
points it. - When I push the code to
develop
branch, TravisCI will deploygh-pages
automatically.
License
MIT © viko16