saberland/saber

Do you want to work on this issue?

You can request for a bounty in order to promote it!


1 active bounty request

$100.00
Solve someone else's bounty request by clicking on it and completing the funding to earn additional credits

Index.vue Page does not have hot-reload #494

pxwee5 posted onGitHub

<!-- Please don't delete this template or we'll close your issue -->

<!-- Before creating an issue please make sure you are using the latest version of Saber. -->

<!-- Issues which contain questions or support requests will be closed. -->

<!-- Please ask questions via following several ways. -->

<!-- https://chat.saber.land/ -->

<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->

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

  1. Create index.vue page
  2. Remove layout attribute from export const data
  3. Edit content

<!-- You can also use this CodeSandbox starter https://bit.ly/2IlcpNF -->

What is expected?

Expect hot reloading to continue to work

What is actually happening?

Hot reload does not work


I guess you mean hot reloading isn't working after removing the data.layout property from index.vue page.

posted by egoist over 5 years ago

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:

  1. cmd+shift+R index page
  2. Try to click any of the permalinks in injectAllPost posts.
posted by pxwee5 over 5 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests