change folder location
This commit is contained in:
parent
2aacb390f8
commit
3547bddf17
22 changed files with 1272 additions and 1370 deletions
14
src/plugins/router.js
Normal file
14
src/plugins/router.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {createRouter, createWebHistory} from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
{path: '', name: 'home', component: () => import('@/views/Home.vue')},
|
||||
{path: '/about', name: 'about', component: () => import('@/views/About.vue')},
|
||||
{path: '/favorite', name: 'favorite', component: () => import('@/views/Favorite.vue')},
|
||||
{path: '/setting', name: 'setting', component: () => import('@/views/Setting.vue')},
|
||||
]
|
||||
const router = createRouter({
|
||||
routes,
|
||||
history: createWebHistory(),
|
||||
})
|
||||
|
||||
export default router
|
27
src/plugins/vuetify.js
Normal file
27
src/plugins/vuetify.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
import { createApp } from 'vue'
|
||||
import { createVuetify, ThemeDefinition } from 'vuetify'
|
||||
|
||||
const myCustomLightTheme = {
|
||||
dark: false,
|
||||
colors: {
|
||||
background: '#FFFFFF',
|
||||
surface: '#FFFFFF',
|
||||
primary: '#6200EE',
|
||||
'primary-darken-1': '#3700B3',
|
||||
secondary: '#03DAC6',
|
||||
'secondary-darken-1': '#018786',
|
||||
error: '#B00020',
|
||||
info: '#2196F3',
|
||||
success: '#4CAF50',
|
||||
warning: '#FB8C00',
|
||||
},
|
||||
}
|
||||
|
||||
export default createVuetify({
|
||||
theme: {
|
||||
defaultTheme: 'myCustomLightTheme',
|
||||
themes: {
|
||||
myCustomLightTheme,
|
||||
},
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue