step 1, 2 and 3 of the implementation plan
This commit is contained in:
14
resources/js/Pages/Landing.vue
Normal file
14
resources/js/Pages/Landing.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<script setup>
|
||||
import { Head } from '@inertiajs/vue3';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Head title="Welcome" />
|
||||
|
||||
<div class="min-h-screen flex items-center justify-center bg-surface">
|
||||
<div class="text-center">
|
||||
<h1 class="text-4xl font-bold text-white mb-4">Go / No Go</h1>
|
||||
<p class="text-gray-400">Baker Tilly International Questionnaire Application</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1 +1,21 @@
|
||||
import './bootstrap';
|
||||
import '../css/app.css';
|
||||
|
||||
import { createApp, h } from 'vue';
|
||||
import { createInertiaApp } from '@inertiajs/vue3';
|
||||
|
||||
createInertiaApp({
|
||||
title: (title) => title ? `${title} - Go No Go` : 'Go No Go',
|
||||
resolve: (name) => {
|
||||
const pages = import.meta.glob('./Pages/**/*.vue', { eager: true });
|
||||
return pages[`./Pages/${name}.vue`];
|
||||
},
|
||||
setup({ el, App, props, plugin }) {
|
||||
createApp({ render: () => h(App, props) })
|
||||
.use(plugin)
|
||||
.mount(el);
|
||||
},
|
||||
progress: {
|
||||
color: '#d1ec51',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user