Headless Laravel Vue components and mixins
Within your resources/js/app.js file:
import Cranium from '@craniums/vue';
createApp({
...
})
.mixin({ methods: { route } })
.use(InertiaPlugin)
.use(Cranium) <---
.mount(el);
add the following to your tailwind config content
array:
'./node_modules/@craniums/vue/src/**/*.vue',