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 dont work #554

Open
aetbaev opened this issue Nov 8, 2023 · 1 comment
Open

SSR dont work #554

aetbaev opened this issue Nov 8, 2023 · 1 comment

Comments

@aetbaev
Copy link

aetbaev commented Nov 8, 2023

How I can render on client?

Version:

  • @inertiajs/vue3 version: ^1.0.0

Describe the problem:

import require$$0 from "vue";
       ^^^^^^^^^^
SyntaxError: The requested module 'vue' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:188:5)
file:///public_html/bootstrap/ssr/assets/VueStarRating.common-57a657b1.mjs:1
import require$$0 from "vue";
       ^^^^^^^^^^
SyntaxError: The requested module 'vue' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:188:5)
client_loop: send disconnect: Broken pipe

Steps to reproduce:

npm install vue-star-rating@next

import StarRating from 'vue-star-rating'

<star-rating />
@craigrileyuk
Copy link

Please don't crosspost to multiple repositories, especially when your issue has nothing to do with either of them.

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