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

v-ripple can't use in SFC with script-setup #13242

Closed
Junvary opened this issue Apr 23, 2022 · 2 comments
Closed

v-ripple can't use in SFC with script-setup #13242

Junvary opened this issue Apr 23, 2022 · 2 comments

Comments

@Junvary
Copy link

Junvary commented Apr 23, 2022

What happened?

v-ripple can't use in SFC with script-setup

What did you expect to happen?

no bug

Reproduction URL

https://codesandbox.io/s/kind-carlos-i11q56?file=/src/pages/Index.vue

How to reproduce?

  1. go to https://codesandbox.io/s/kind-carlos-i11q56?file=/src/pages/Index.vue
  2. open chrome console
  3. u will see:
    TypeError: Cannot read properties of undefined (reading 'config')
    at updateModifiers (Ripple.js?714f:65:1

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar), Directives (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@rstoenescu
Copy link
Member

Duplicate of #13154
External issue. Bug in Vue.
Temporarily downgrade to vue 3.2.31

@baghdadraza
Copy link
Contributor

temporarily fix

<script setup>

const $q = useQuasar()

defineExpose({ $q })

</script>

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

No branches or pull requests

3 participants