forked from abcjs-music/abcjs-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
54 lines (53 loc) · 1.23 KB
/
nuxt.config.ts
File metadata and controls
54 lines (53 loc) · 1.23 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
// Make use of compile time environment var NUXT_APP_BASE_URL
// to make baseURL work for GitHub Pages deployments as well.
// See https://nuxt.com/deploy/github-pages and https://vite.dev/guide/env-and-mode.html for details.
const baseURL = import.meta.env.NUXT_APP_BASE_URL
? import.meta.env.NUXT_APP_BASE_URL
: "/";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ["@pinia/nuxt", "@nuxtjs/google-fonts", "@nuxt/eslint"],
devtools: { enabled: true },
app: {
head: {
title: "abcjs: Quick Editor",
link: [
{
rel: "apple-touch-icon",
sizes: "180x180",
href: baseURL + "apple-touch-icon.png",
},
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: baseURL + "favicon-32x32.png",
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: baseURL + "favicon-16x16.png",
},
{
rel: "icon",
type: "image/x-icon",
href: baseURL + "favicon.ico?x=2",
},
],
},
},
css: ["abcjs/abcjs-audio.css"],
compatibilityDate: "2024-11-01",
eslint: {
checker: true,
},
googleFonts: {
families: {
"Roboto": [300, 400, 500, 700],
"Kreon": true,
"Itim": true,
"Fira+Mono": true,
},
},
});