/Vue-blog

基于Vue+Typecho写的SPA单页博客

Primary LanguageJavaScript

app

SangSir Blog App.

学习Vue的第一个边学边做小项目,前端使用Vue-cli进行构建,后端使用Typecho的Api插件获取博客文章数据,构建后使用cordova打包为App

Typecho的Api插件可以在这里获得: https://github.com/st1ven/typecho-api

Demo: https://lab.sangsir.com/vue-blog

Skill

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.