Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

elbsurfer's avatar

Laravel Nova - Add Vuetify

Hello, I have a few questions and I hope somebody can help me.

I want to build an own tool in Nova and use an external library like Vuetify and maybe others. The step that I did was installing vuetify in my project and including it like this in my tool.js: https://d.pr/i/E9mU4C

Then I get node sass errors while compiling the resource. Some folks at vuetify told me that I should not use node-sass but another compiler and I should update Laravel Mix to version 4. I did that and the node-sass errors went away.

But in my console I do see this now: https://d.pr/i/3ZYjVJ and the page looks like this: https://d.pr/i/Va9Lzt

Then I changed the implementation like this (importing Vue as well and use Vuetify outside of Nova.booting: https://d.pr/i/oHvoyx The errors in the console went away, but the components are still not showing up and I have the same view as here: https://d.pr/i/Va9Lzt

So my question is, how I can include a library like Vuetify in Nova? And why am I seeing a blank screen of the tool.vue component when using Mix 4?

Thanks!

0 likes
6 replies
aurawindsurfing's avatar

Hi @elbsurfer

I wonder why would you do that? Vuetify is just like Bootstrap - set of fixed modules / elements. With nova tool, you have access to underlying vuejs javascript and tailwindcss styling. You can more less build whatever you like. Give those tools a try instead of going for something that will be hard to customize.

Hope it helps!

elbsurfer's avatar

Thanks for your reply @aurawindsurfing

I think it's out of convenience, because I habe used Vuetify in a lot of projects. I will take a look at Tailwind, but it would be interesting for other chart libraries if I know how I can include them in Nova.

nchatziavraam's avatar

@elbsurfer do you found a solution regarding this matter, nova components can be reused for custom tools? Because we are thinking of using nova or using vuetify instead

Please or to participate in this conversation.