-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
55 lines (52 loc) · 1.75 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
meta: [
{property: "og:site_name", content: 'MCU Go Open'},
// {property: "og:image", content: '/img/logo.png'}
],
title: 'MCU Go Open (Alpha)',
viewport: 'width=device-width, initial-scale=1, shrink-to-fit=no',
link: [
{rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'},
{ rel: 'preconnect', href: 'https://fonts.gstatic.com'},
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap'},
{ rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.6.3/css/all.css'},
{ rel: '', href: ''},
],
style: [
{ children: `body {
font-family: 'Noto Sans TC', var(--bs-font-sans-serif);
}
.focus:hover, .focus:focus{
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.focus {
transition: box-shadow 0.3s ease-in-out;
}
#searchBar {
z-index: 1010;
top: 60px;
transition: top 0.3s;
}
`, type: 'text/css'}
],
script: [
{
src: "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js",
body: true
},
{
src: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js",
body: true
}
]
}
},
components: {
dirs: [
'~/components',
]
}
})