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

This gem supports SSR? #28

Closed
almirpask opened this issue Apr 11, 2019 · 2 comments
Closed

This gem supports SSR? #28

almirpask opened this issue Apr 11, 2019 · 2 comments

Comments

@almirpask
Copy link

almirpask commented Apr 11, 2019

This gem support server side rendering with vue components?

@almirpask almirpask changed the title This gem supports SSR This gem supports SSR? Apr 11, 2019
@ytbryan
Copy link
Member

ytbryan commented Apr 12, 2019

I'm working hard on SSR. Need more time.

@ytbryan ytbryan closed this as completed Apr 12, 2019
@ytbryan
Copy link
Member

ytbryan commented Jun 12, 2019

Yes 771ed5f

Assuming you setup vue on rails manually and correctly.

At Gemfile and `bundle

gem 'vueonrails'

Finally, run rails vue:setup.

Alternatively, use app template to do everything above automatically
rails new app -m http://vueonrails.com/vue -d postgresql

Configure SSR automatically

rails vue:ssr

generate new component

rails generate vue <NAME> --ssr

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

No branches or pull requests

2 participants