Support @chakra-ui/nuxt
kissu opened this issue · comments
Versions
nuxt-vite: v0.0.36
nuxt: v2.15.4
Reproduction
https://github.com/kissu/nuxt-vite-test-setup
Description
So, I've created a brand fresh Nuxt project with npx create-nuxt-app nuxt-vite-test-setup
, here is the entire setup:
I added nuxt-vite
, it was working fine. 👌🏼
Then, I tried to install Chakra but it did not work, following the official documentation: https://vue.chakra-ui.com/with-nuxt
Debugging is hard with just this kind of error...
It looks like it's perfectly working with Vue2 tho.
Starting from the Vue starter located here: https://vue.chakra-ui.com/getting-started#codesandbox-starters
And adding vite-plugin-vue2 doesn't produce the same error and works fine.
Here is the working Vue2 repro: https://github.com/kissu/test-vite-chakra-setup