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

[Question] How does it work with a real component that has to be imported? #126

Open
educob opened this issue Nov 27, 2022 · 0 comments
Open

Comments

@educob
Copy link

educob commented Nov 27, 2022

Hi.

I have tried to find a real exmample and the only one is with a comments component not imported anywhere.

Whow does this work with a real component that has to be imported?

Some like:

<tamplate> ...
  <client-only>
    <realcomponent />
  </client-only>
...


<script>
import ClientOnly from 'vue-client-only'
import realcomponent from 'realcmponent'
...

components: {
  ClientOnly,
  realcomponent,
}

Thanks.

@educob educob closed this as completed Nov 27, 2022
@educob educob reopened this Nov 27, 2022
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

1 participant