Need help installing a vite plugin, in a nuxt 3 app
Hey guys.
So I'm working with shaders in a nuxt 3 threejs project, and I'm trying to install
vite-pligin-glsl
(https://www.npmjs.com/package/vite-plugin-glsl), so I can import and use .glsl
files
It seems vite.config.js
isn't used in nuxt 3 anymore. Please could someone help me out with how I can go about installing the plugin
So far I've searched, my only lead is Nuxt kit
(https://nuxt.com/docs/api/kit/builder). I don't know if I'm going the right direction4 Replies
Set almost anything you would with
vite.config
in your nuxt config, under the vite
option.Thanks Chief!
:salute:
So what I was hoping to achieve with plugin didn't work, I'm tryin out another option that requires webpack.
I changed up the config:
When I run the server, I get:
The app runs in the browser, but nothing else after that
Hot reload seems disconnected.
I'm I missing something?
I'm I missing something?