Сделал вьюшку для логина, прокинул для нее роут
This commit is contained in:
parent
e10b5abe90
commit
0800dfa00e
|
@ -0,0 +1,22 @@
|
||||||
|
<template>
|
||||||
|
<v-app>
|
||||||
|
<v-sheet class="bg h-100 w-100 d-flex justify-center">
|
||||||
|
</v-sheet>
|
||||||
|
</v-app>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "Login"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
.bg {
|
||||||
|
background: rgb(238, 174, 202)!important;
|
||||||
|
background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%)!important;;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Аутентификация</title>
|
||||||
|
@vite('resources/views/auth/auth.js')
|
||||||
|
@vite('resources/css/app.css')
|
||||||
|
</head>
|
||||||
|
<body class="antialiased">
|
||||||
|
<div id="app"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,15 @@
|
||||||
|
import '../../js/bootstrap.js';
|
||||||
|
import {createApp} from 'vue'
|
||||||
|
import App from './Login.vue'
|
||||||
|
import { createVuetify } from 'vuetify'
|
||||||
|
import 'vuetify/styles'
|
||||||
|
import * as components from 'vuetify/components'
|
||||||
|
import * as directives from 'vuetify/directives'
|
||||||
|
import '@mdi/font/css/materialdesignicons.css'
|
||||||
|
|
||||||
|
const vuetify = createVuetify({
|
||||||
|
components,
|
||||||
|
directives
|
||||||
|
})
|
||||||
|
|
||||||
|
createApp(App).use(vuetify).mount("#app")
|
|
@ -26,4 +26,8 @@ Route::get('/resume', function () {
|
||||||
return view('resume/resume');
|
return view('resume/resume');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::get('/login', function () {
|
||||||
|
return view('auth/auth');
|
||||||
|
});
|
||||||
|
|
||||||
Route::get('/download/{file}', 'App\Http\Controllers\DownloadController@download');
|
Route::get('/download/{file}', 'App\Http\Controllers\DownloadController@download');
|
||||||
|
|
|
@ -6,7 +6,7 @@ export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
laravel({
|
laravel({
|
||||||
input: ['resources/css/app.css', 'resources/app.js', 'resources/welcome.js', 'resources/caesar.js'],
|
input: ['resources/css/app.css', 'resources/app.js', 'resources/welcome.js', 'resources/caesar.js', "resources/views/auth/auth.js"],
|
||||||
refresh: true,
|
refresh: true,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue