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

Make bDropdown work server side #39

Merged
merged 1 commit into from Apr 24, 2017
Merged

Make bDropdown work server side #39

merged 1 commit into from Apr 24, 2017

Conversation

iwadam
Copy link
Contributor

@iwadam iwadam commented Apr 24, 2017

Hey, it's a great library, thanks!!!!!! We use it in our Project. Small improvement:
Window doesn't exists server side so we check if it exists before running code that depends on it. We need this for nuxt.js support.

Hey, it's a great library, thanks!!!!!! We use it in our Project. Small improvement:
Window doesn't exists server side so we check if it exists before running code that depends on it. We need this for nuxt.js support.
@iwadam iwadam changed the title Make it work server side Make bDropdown work server side Apr 24, 2017
@rafaberaldo rafaberaldo merged commit c7ad077 into buefy:master Apr 24, 2017
@rafaberaldo
Copy link
Member

rafaberaldo commented Apr 24, 2017

Thank you, probably have to make the same with Dialog.

I believe it won't work fully with SSR because the click-outside functionality won't work.

rafaberaldo added a commit that referenced this pull request Apr 24, 2017
@shentao
Copy link

shentao commented Apr 25, 2017

Hey @rafaelpimpa! Thanks for merging this!

The click-outside functionality might not be relevant when doing SSR. All it has to do on the backend is to render the component’s HTML and data. Once it’s on the client side, Vue should pick it up and set up the listeners as it would normally.

@rafaberaldo
Copy link
Member

That's great! Didn't know it was that smart.

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

Successfully merging this pull request may close these issues.

None yet

3 participants