why would app.js not get loaded?
I have the below code in my app.js file. ApexCharts is not defined when I try to reference it in the console, and the console.log message isn't in the output either.
My vite.config.js file contains
'resources/js/app.js'
as one of the input plugins.
My blade layout file has @vite('resources/js/app.js')
.
I've run npm run build, and cleared the cache.
My ultimate goal is to utilize ApexCharts outside of the ApexCharts plugin in this specific use case due to some constraints around the plugin itself. I'm using the filament plugin elsewhere, so don't want to just get rid of it and use js library directly, I just need it for this specific instance.0 Replies