-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
111 lines (98 loc) · 3.42 KB
/
nuxt.config.js
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
export default {
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
ssr: false,
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: 'Style-Forge',
htmlAttrs: {
lang: 'en',
'data-theme': 'auto',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'CSS framework with themes, utilities, flexbox, and grid for creating responsive websites',
},
{
name: 'keywords',
content:
'style-forge, CSS framework, modern design, responsive design, utilities, web development, frontend, UI components, CSS grid, CSS flexbox, themes, form validation, custom themes, grid, flex, input, select, switch, textarea, helpers, colors',
},
{ name: 'format-detection', content: 'telephone=no' },
{ property: 'og:title', content: 'Style-Forge' },
{
property: 'og:description',
content: 'CSS framework with themes, utilities, flexbox, and grid for creating responsive websites',
},
{ property: 'og:url', content: 'https://style-forge.github.io/' },
{ property: 'og:image', content: '/images/main.png' },
{ property: 'og:type', content: 'website' },
{ name: 'twitter:title', content: 'Style-Forge' },
{
name: 'twitter:description',
content: 'CSS framework with themes, utilities, flexbox, and grid for creating responsive websites',
},
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:image', content: '/images/main.png' },
],
link: [
{ rel: 'apple-touch-icon', size: '180x180', href: '/icons/icon-180x180.png' },
{ rel: 'icon', type: '32x32', href: '/icons/icon-32x32.png' },
{ rel: 'icon', type: '16x16', href: '/icons/icon-16x16.png' },
{ rel: 'manifest', href: '/site.webmanifest' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: true },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,200,0,0',
},
],
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: ['~/assets/main.css'],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [{ src: '~/plugins/support.js', mode: 'client' }],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
// https://go.nuxtjs.dev/eslint
'@nuxtjs/eslint-module',
],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
friendlyErrors: false,
publicPath: '_',
extractCSS: true,
postcss: {
postcssOptions: {
plugins: {
'postcss-preset-env': false,
},
},
},
},
/* /// */
loading: false,
loadingIndicator: false,
router: {
mode: 'abstract',
},
generate: {
cache: false,
fallback: false,
},
server: {
port: 5173,
},
}