mezg0 / vue-ui

https://ui.mezg0.com
MIT License
69 stars 1 forks source link

Fresh install doesn't work. #3

Closed Blinks44 closed 12 months ago

Blinks44 commented 12 months ago

Fresh install Vite + Vue + TS (not Nuxt, vanilla Vue app) shows typescript errors and doesn't work. Tailwind and all dependencies are installed. What am i doing wrong?) Or for now it is just works with nuxt?

Reproduction - https://codesandbox.io/p/sandbox/vigorous-kilby-y9z767

mezg0 commented 12 months ago

Looks like you need the vueJSX vite plugin to make jsx work with vite -> https://www.npmjs.com/package/@vitejs/plugin-vue-jsx

Working sandbox: https://codesandbox.io/p/sandbox/trusting-andras-2vrckg

I'll add a note to the docs. Thanks for the heads up

Blinks44 commented 12 months ago

Thanks!