-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
29 lines (28 loc) · 825 Bytes
/
nuxt.config.ts
File metadata and controls
29 lines (28 loc) · 825 Bytes
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
import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
app: {
head: {
title: 'Hom Wang',
meta: [
{ name: 'referrer', content: 'no-referrer' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/icon.png' }
],
},
},
css: ['~/assets/css/main.css'],
buildModules: [
'@unocss/nuxt',
],
unocss: {
attributify: true,
icons: true,
components: false,
shortcuts: [
// ['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
],
},
})