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

Can't use with composition api #738

Closed
talaing opened this issue Sep 10, 2021 · 1 comment
Closed

Can't use with composition api #738

talaing opened this issue Sep 10, 2021 · 1 comment

Comments

@talaing
Copy link

talaing commented Sep 10, 2021

<script>
import { useWindowSize } from '@vueuse/core'

export default {
  setup(){
    const { width, height } = useWindowSize()
    return { width, height }
  }
}
</script>
./node_modules/@vueuse/core/index.mjs 800:50-62
Can't import the named export 'bypassFilter' from non EcmaScript module (only default export is available)
@antfu
Copy link
Member

antfu commented Sep 10, 2021

#718

@antfu antfu closed this as completed Sep 10, 2021
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