-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
66 lines (63 loc) · 1.48 KB
/
Copy pathnuxt.config.ts
File metadata and controls
66 lines (63 loc) · 1.48 KB
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
import { defineNuxtConfig } from "nuxt";
export default defineNuxtConfig({
// buildDir: 'dist',
modules: ['@nuxtjs/tailwindcss'],
buildModules: [
// pinia plugin - https://pinia.esm.dev
'@pinia/nuxt',
],
build: {
transpile: ['@heroicons/vue'],
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
vite: {
logLevel: 'info',
optimizeDeps: {
include: [
'@headlessui/vue',
'@heroicons/vue/solid',
'@heroicons/vue/outline',
'vue',
'pinia',
'ufo',
],
},
},
app: {
head: {
htmlAttrs: {
lang: 'en', // it sets the language English
},
meta: [
{
hid: 'keyword',
name: 'keyword',
content: 'PBA Front-end Portal, PBA Admin Blueprint',
},
{
hid: 'description',
name: 'description',
content: 'PBA Front-end Portal Blueprint',
},
],
script: [
// <script src="https://myawesome-lib.js"></script>
// { src: 'https://awesome-lib.js' },
],
link: [
// <link rel="stylesheet" href="https://myawesome-lib.css">
// { rel: 'stylesheet', href: 'https://awesome-lib.css' },
],
// please note that this is an area that is likely to change
style: [
// <style type="text/css">:root { color: red }</style>
// { children: ':root { color: red }', type: 'text/css' },
],
},
},
})