-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.vue
35 lines (32 loc) · 1.02 KB
/
app.vue
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
<template>
<Head>
<Link rel="shortcut icon" href="/favicon.ico" />
<Link href="https://unpkg.com/[email protected]/nprogress.css" />
<Title>ArcSpy+</Title>
<Meta charset="UTF-8" />
<Meta http-equiv="x-ua-compatible" content="IE=edge" />
<Meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1.0, maximum-scale=1.0" />
<Meta name="description" content="Arcaea查分站点" />
<Script src="https://unpkg.com/[email protected]/nprogress.js" defer> </Script>
</Head>
<NuxtPage></NuxtPage>
</template>
<script setup lang="ts">
useHead({
htmlAttrs: {
lang: "zh-cn"
}
})
if (!String.prototype.replaceAll) {
String.prototype.replaceAll = function (str: any, newStr: any) {
if (Object.prototype.toString.call(str).toLowerCase() === '[object regexp]') {
return this.replace(str, newStr);
}
return this.replace(new RegExp(str, 'g'), newStr);
};
}
</script>
<style>
@import url("./assets/css/base.css");
/* @import url("nprogress/nprogress.css"); */
</style>