M-app / craniums

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@craniums/vue

Headless Laravel Vue components and mixins

Install

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',

About

License:MIT License


Languages

Language:Vue 76.3%Language:JavaScript 23.6%Language:HTML 0.1%