Index.vue Page does not have hot-reload
Opened this issue · 2 comments
pxwee5 commented
Bug report
Hot reloading is somehow not working for index.vue
page files without a layout. However it is working if we're using index.md
page and index.vue
layout. The goal is to just use index.vue
page without using a layout.
Steps to reproduce
- Create
index.vue
page - Remove
layout
attribute fromexport const data
- Edit content
What is expected?
Expect hot reloading to continue to work
What is actually happening?
Hot reload does not work
egoist commented
I guess you mean hot reloading isn't working after removing the data.layout
property from index.vue
page.
pxwee5 commented
Yep that's what I meant.
Also, saber-link
won't update the page content (window.History
is updated however) on a clear cache reload if index page does not use a layout.
To replicate:
- cmd+shift+R index page
- Try to click any of the permalinks in
injectAllPost
posts.