unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.89k stars 280 forks source link

[Feature]: Inertia Support #57

Closed joshuadempsey closed 1 year ago

joshuadempsey commented 1 year ago

Describe the feature

Is there any plans on the roadmap to support Laravel/Inertia + VueJS? I've seen lots of people waiting for this, and I'm sure support would massively push adoption 👍🏻

Currently there's lots of TS errors unfortunately 👎🏻

Additional information

nfunwigabga commented 1 year ago

+1

zernonia commented 1 year ago

Hey @joshuadempsey ! I've added a Laravel installation step here. Could you help me verify if it works? And if not I would really appreciate your help in providing the correct setup step.

Also, when you mentioned TS errors, what was it ya? Could you provide more context? Maybe screenshot?

drehimself commented 1 year ago

@zernonia The tailwind.config.js file has to accommodate .vue and .ts files as well.

I added this line to the content array and it worked within Inertia/Vue 3 Typescript:

'./resources/js/**/*.{vue,js,ts,jsx,tsx}',

Really loving shadcn-vue, thanks for all your hard work 💪

zernonia commented 1 year ago

Thanks for verifying it @drehimself !! Really appreciate it! 🚀 I've updated the docs, and thus closing the issue as complete ya!

We can reopen this ticket if needed 😁

PS: Thanks for the kind words! ❤️