Comments (6)
Thank you IniZio,
I've tried the HTML5 History Mode but failed in just few months ago.
To use this mode, you have to do some serve configurations (URL Rewrite) but unfortunately GitHub Pages doesn't support any server side configuration. That is why I am still using hash
mode. Deeply regret and I am looking for other methods to solve this problem.
- Some discussion: isaacs/github#408
- Vue-router documentation: http://router.vuejs.org/en/essentials/history-mode.html
from vue-ghpages-blog.
I tried to use the method on my blog, and it seems to be working to my expectation. Would you mind reviewing my code at the develop branch of the repo to see if the method is simply not feasible?
from vue-ghpages-blog.
Access from List is work. (Because our browser support HTML5 pushState API
)
But if you refresh, it will request from GitHub Pages server and get the 404 response 🙈.
eg. http://inizio.github.io/post/b4ed1f5e7939732e07e7ad35b9af18588a509297
from vue-ghpages-blog.
In addition, what's the meaning of TOC 🤔 ?
from vue-ghpages-blog.
Hmm ok understood, will close the PR then. TOC means Table Of Contents, just want to make it pair with anchors.
from vue-ghpages-blog.
I will add it into TODO #1 and keep exploring the solution.
Thank you for your contribution. @IniZio
from vue-ghpages-blog.
Related Issues (17)
- TODO HOT 14
- Vue Devtools tips may appear in Edge
- Travis-CI encryption-keys security issue
- 可以直接在hexo上运行吗? HOT 2
- SEO 问题 HOT 6
- 为何网站不显示内容? HOT 3
- 完善搜索
- 请问不绑定CNAME可以访问吗 HOT 3
- 关于服务器端渲染markdown HOT 5
- pagination? HOT 1
- ... HOT 4
- 搜索框输入关键词后跳转错误的页面 HOT 4
- Refactor with @vue/cli 3.x HOT 1
- 详细页标题错误 HOT 1
- Screenshots HOT 1
- Index html not in root path HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-ghpages-blog.