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

Just wanna say thanks! #30

Open
davestewart opened this issue Mar 3, 2021 · 4 comments
Open

Just wanna say thanks! #30

davestewart opened this issue Mar 3, 2021 · 4 comments

Comments

@davestewart
Copy link

I was using the Vue Isotope package and it wasn't playing well with SSR, then for some reason I found this and... boom; it just works.

I almost wasn't going to use grid packing, but now I'm going to stick with it.

Great job! And thank you.

@dosstx
Copy link

dosstx commented Aug 31, 2021

Can you share a code sample of how you have this set up for SSR? Thank you.

@davestewart
Copy link
Author

Hey @dosstx - I don't think I did anything special, because it's CSS it doesn't reference window or such like.

This is it running in VuePress:

image

It's been a while since I looked at this, but I quickly scanned through the source I didn't see any client-only or such like.

Note that I am pre-rendering all pages.

@dosstx
Copy link

dosstx commented Aug 31, 2021

@davestewart Thanks! Doesn't pre-rendering basically build the pages before deployment? If so, that is different than SSR because with SSR the pages are dynamically rendered as the server requests them ("Server-Side Rendering/SSR"). Thus, I can see why the layout works fine for you. Vuepress is a static-site generator (non-SSR). In your case, that plugin should work as-is. Unless I am mistaken?

@davestewart
Copy link
Author

Doesn't pre-rendering basically build the pages before deployment

Yup!

Vuepress is a static-site generator (non-SSR). In your case, that plugin should work as-is

It is. Sorry I can't help!

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