mirror of
https://github.com/MarcZierle/photo-log-frontend.git
synced 2025-04-12 07:04:36 +00:00
configure vite
This commit is contained in:
parent
7b35fe6583
commit
7b2d9a7d6c
Binary file not shown.
Before Width: | Height: | Size: 2.2 MiB |
BIN
src/assets/images/home_bg.webp
Normal file
BIN
src/assets/images/home_bg.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 581 KiB |
@ -5,14 +5,14 @@ import {
|
|||||||
} from '@/i18n.js'
|
} from '@/i18n.js'
|
||||||
|
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import HomeView from '../views/Home.vue'
|
const HomeView = () => import('../views/Home.vue')
|
||||||
import LogsList from '../views/LogsList.vue'
|
const LogsList = () => import('../views/LogsList.vue')
|
||||||
import LogTemplatesList from '../views/LogTemplatesList.vue'
|
const LogTemplatesList = () => import('../views/LogTemplatesList.vue')
|
||||||
import CreateLog from '../views/CreateLog.vue'
|
const CreateLog = () => import('../views/CreateLog.vue')
|
||||||
import CreateLogTemplate from '../views/CreateLogTemplate.vue'
|
const CreateLogTemplate = () => import('../views/CreateLogTemplate.vue')
|
||||||
import CameraCapture from '../views/CameraCapture.vue'
|
const CameraCapture = () => import('../views/CameraCapture.vue')
|
||||||
import ManagePhotos from '../views/ManagePhotos.vue'
|
const ManagePhotos = () => import('../views/ManagePhotos.vue')
|
||||||
import DevView from '../views/DevView.vue'
|
const DevView = () => import('../views/DevView.vue')
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
|
@ -84,7 +84,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.banner-bg {
|
.banner-bg {
|
||||||
background-image: url('../assets/images/home_bg.jpg');
|
background-image: url('../assets/images/home_bg.webp');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -13,4 +13,8 @@ export default defineConfig({
|
|||||||
host: true,
|
host: true,
|
||||||
port: 8080,
|
port: 8080,
|
||||||
},
|
},
|
||||||
|
preview: {
|
||||||
|
host: true,
|
||||||
|
port: 8080,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user