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

SSR support? #12

Open
standfv opened this issue Aug 19, 2020 · 3 comments
Open

SSR support? #12

standfv opened this issue Aug 19, 2020 · 3 comments

Comments

@standfv
Copy link

standfv commented Aug 19, 2020

Hi Guys,

[Nuxtjs] SSR support?

@ulcuber
Copy link
Contributor

ulcuber commented Aug 19, 2020

For nuxt use nuxt.config.js.build.transpile

{
    transpile: ['vue-stars'],
}

as vue-cli build not compatible with nuxt

@standfv
Copy link
Author

standfv commented Aug 20, 2020

vue-stars

I try add vue-star to transpile. But ssr not working!

@ulcuber
Copy link
Contributor

ulcuber commented Aug 20, 2020

Main comes from dist

{
    "main": "dist/VueStars.umd.js",
}

@standfv try use from source

import VueStars from 'vue-stars/src';

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