PHP Classes

File: resources/js/app.js

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   S3 B2B PHP Amazon S3 File Manager   resources/js/app.js   Download  
File: resources/js/app.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: S3 B2B PHP Amazon S3 File Manager
Manage files stored in multiple Amazon S3 buckets
Author: By
Last change:
Date: 9 months ago
Size: 696 bytes
 

Contents

Class file image Download
import './bootstrap'; import en from '@lang/en'; import { createApp, h } from 'vue' import { createInertiaApp } from '@inertiajs/vue3' import { createI18n } from "vue-i18n"; import { createPinia } from 'pinia'; createInertiaApp({ resolve: name => { const pages = import.meta.glob('./Pages/**/*.vue', { eager: true }) return pages[`./Pages/${name}.vue`] }, setup({ el, App, props, plugin }) { const i18n = createI18n({ locale: "en", fallbackLocale: "en", messages: { en: en } }); const pinia = createPinia() createApp({ render: () => h(App, props) }) .use(plugin) .use(i18n) .use(pinia) .mount(el) }, })