Sanctum::getAccessTokenFromRequestUsing(function ($request) {
return $request->token;
});
import MainHeader from '@/components/UI/hard/mh.vue'
export default (app) => {
app.component('MainHeader', MainHeader)
}
import components from '@/components/UI/library.js';
const app = createApp(App)
components(app)
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
const linksList = [
{
title: t('dictionary.terms_and_conditions'),
},
];
$this->process = Process::fromShellCommandline( 'mysql -u $username -p"$password" $database < $file' );
$this->process->run( null, [
'username' => $username,
'password' => $password,
'database' => $database,
'file' => $file,
] );
const components = [
'cargovoyage.detail',
'cargovoyage.list',
];
document.addEventListener('DOMContentLoaded', () => {
components.forEach((component) => {
const componentClass = component.replace(/\./g, '-');
if (document.querySelector(`.${componentClass}`)) {
import(/* webpackChunkName: "[request]" */ `components/${component}`);
}
});
import(/* webpackChunkName: "vessel-form" */ './js/vessel/form');
});