Резюме перенесено на роут /resume. Главная страница заменена на заглушку
This commit is contained in:
parent
56c975a18d
commit
36d7609b8c
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "dhaverd/resume",
|
||||
"type": "project",
|
||||
"description": "My resume site",
|
||||
"description": "My site",
|
||||
"keywords": ["laravel", "framework"],
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<v-sheet class="d-flex justify-center align-center">
|
||||
<p class="text-h5">Эта страничка пока пустая. Резюме находится <a href="/resume">здесь.</a></p>
|
||||
</v-sheet>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Polyfill"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
|
@ -0,0 +1,18 @@
|
|||
<template>
|
||||
<v-app>
|
||||
<Polyfill></Polyfill>
|
||||
</v-app>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Polyfill from "./Polyfill.vue";
|
||||
|
||||
export default {
|
||||
name: "Welcome",
|
||||
components: {Polyfill}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</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/app.js')
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
<body class="antialiased">
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,13 +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/app.js')
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
<body class="antialiased">
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Резюме</title>
|
||||
@vite('resources/welcome.js')
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
<body class="antialiased">
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
import './js/bootstrap';
|
||||
import {createApp} from 'vue'
|
||||
import App from './views/Welcome.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")
|
|
@ -18,4 +18,8 @@ Route::get('/', function () {
|
|||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get('/resume', function () {
|
||||
return view('resume');
|
||||
});
|
||||
|
||||
Route::get('/download/{file}', 'App\Http\Controllers\DownloadController@download');
|
||||
|
|
|
@ -6,7 +6,7 @@ export default defineConfig({
|
|||
plugins: [
|
||||
vue(),
|
||||
laravel({
|
||||
input: ['resources/css/app.css', 'resources/app.js'],
|
||||
input: ['resources/css/app.css', 'resources/app.js', 'resources/welcome.js'],
|
||||
refresh: true,
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue