myst729 / Vuelog

A backend-free blog system built on top of Vue.js
https://vuelog.js.org/
MIT License
266 stars 39 forks source link

hosting on github pages #19

Closed connor11528 closed 6 years ago

connor11528 commented 6 years ago

I have a repo here for building a blog: https://github.com/connor11528/vuelog-starter/tree/gh-pages

I have pushed the repo up to a new gh-pages branch and set the base in my database.js file.

    // Path to the domain root that serves your site, starts and ends with slash (`/`).
    // Set to `'/'` if your site is under domain root.
    base: '/vuelog-starter/', 

I then ran yarn build

When I push up the code the website shows a Loading... page instead of the compiled application. It looks like the full static build is hosted in the docs folder.

How do I render my vuelog blog on gh-pages?

myst729 commented 6 years ago

The release package is for deployment. Extract it and push to your gh-pages branch, that's it. The repo is not for hosting, it's for developers.

Take a look at my blog host repo https://github.com/myst729/myst729.github.io