-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathnuxt.config.ts
72 lines (59 loc) · 1.62 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import dev from './config/development';
import prod from './config/production';
const env = process.env.ENV || process.env.RUN_ENV || process.env.NODE_ENV;
const appConfig = env === 'development' ? dev : prod;
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: false,
devServer: {
port: 3001,
},
typescript: { shim: false },
runtimeConfig: {
public: appConfig,
},
css: ['@/assets/css/main.css', '@/assets/css/tooltip.css'],
components: ['./components'],
modules: [
'@vueuse/nuxt',
'nuxt-icons',
[
'@nuxtjs/google-fonts',
{
useStylesheet: true,
display: 'swap',
download: false,
families: {
'IBM Plex Sans': {
wght: [400, 700],
},
},
},
],
],
imports: {
dirs: ['./lib', './types'],
},
app: {
head: {
htmlAttrs: {
lang: 'en',
},
title: 'Apillon - NFTs',
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
meta: [
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'theme-color', content: '#f0f2da' },
{ name: 'description', content: 'Apillon - NFT template', hid: 'description' },
{ name: 'og:title', content: 'Apillon - NFT', hid: 'og:title' },
{ name: 'og:description', content: 'Apillon - NFT template', hid: 'og:description' },
{ name: 'og:type', content: 'website' },
],
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon.png' },
{ rel: 'manifest', href: '/manifest.json' },
],
},
},
});