bb1e397daa831622debe681be7dae73692d9a5e2
Vue Blogify
Vue CLI-based static blogging platform
How to use
- Edit
config.yaml - Edit layouts (using
*.vue) insrc/layouts/ - Add posts in
public/posts, preferrably inpublic/posts/<YEAR>/<MONTH>. HTML, Pug and Markdown are supported.
Installation
- I use NPM, and Vue CLI 3, so
npm install - Run using
npm run dev
Building and deploying
- Build using
npm run build - Deploy as static website, maybe using gh-pages.
- To deploy to most static websites, set
publicPathinvue.config.jsto/.- For non-user GitHub Pages, set
publicPathto/<REPO_NAME>. - For Cordova, Electron, or local, set
publicPathto"". - Note that, if
publicPathis not/, Vue router's History Mode might not work. - For instructions, see https://cli.vuejs.org/guide/deployment.html
- For non-user GitHub Pages, set
Example
Languages
TypeScript
89.4%
Vue
5%
JavaScript
3.7%
CSS
1.9%