vuematerial / vue-material

Vue.js Framework - ready-to-use Vue components with Material Design, free forever.
https://www.creative-tim.com/vuematerial
MIT License
9.88k stars 1.16k forks source link

[Docs] some pages render weird if visit directly #1305

Open VdustR opened 6 years ago

VdustR commented 6 years ago

Steps to reproduce

Visit these pages directly:

Which browser?

Tested Browsers:

Vue Material version: vue-material@1.0.0-beta-7

What is expected?

White background.

What is actually happening?

Render weird like this.

vuematerial io_components_tabs_

Reproduction Link

As above.

Render correctly on webpack dev server. Only got this issue on official documentation website.

Samuell1 commented 6 years ago

Its because of caching of site

VdustR commented 6 years ago

The static contents has a hash on its' file name. It's should be always the latest .js, .css.

VdustR commented 6 years ago

Oops, I think that's not the problem.

@Samuell1 Do you mean CDN cached the SSR page?

Samuell1 commented 6 years ago

Because its not SSR and its with webworkers

Samuell1 commented 6 years ago

@marcosmoura can say more about this issue i think

marcosmoura commented 6 years ago

This is because we prerender the pages with pure HTML, which is faster than using SSR. This is happening because of the theming engine not being reactive to changes. I will take a look at it ASAP!