PHP Classes

File: resources/js/app.js

Recommend this page to a friend!
  Classes of Robert Devenyi   Iceburg CRM   resources/js/app.js   Download  
File: resources/js/app.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Iceburg CRM
CRM application to manage contacts
Author: By
Last change:
Date: 1 year ago
Size: 704 bytes
 

Contents

Class file image Download
import './bootstrap'; import { createApp, h } from 'vue'; import { createInertiaApp } from '@inertiajs/inertia-vue3'; import { InertiaProgress } from '@inertiajs/progress'; import { maska } from 'maska'; const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel'; createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: (name) => require(`./Pages/${name}.vue`), setup({ el, app, props, plugin }) { return createApp({ render: () => h(app, props) }) .use(plugin) .directive('maska', maska) .mixin({ methods: { route } }) .mount(el); }, }); InertiaProgress.init({ color: '#4B5563' });