Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No style when opening a previously visited page in dev mode #29

Open
andresilvasantos opened this issue Oct 2, 2017 · 2 comments
Open

Comments

@andresilvasantos
Copy link

andresilvasantos commented Oct 2, 2017

When using less style and having a project's structure similar to markojs website, where there is a folder with generic components and a separate folder with the routes, accessing the same page twice, in most cases, it will render without style.

No problem when running in production mode.

You can replicate the issue cloning this repository and switch back and forth between Home and Account pages:
https://github.com/andresilvasantos/marko-less-test

@tcrowe
Copy link

tcrowe commented Oct 2, 2017

I think this is a common problem where people try to put the <lasso-page> into a component.

https://github.com/andresilvasantos/marko-less-test/blob/master/src/components/site-layout/index.marko#L1

Usually that is the problem but I don't understand why it works in production then.

@andresilvasantos
Copy link
Author

Everything works as expected when you run with config fingerprintsEnabled always enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants