Skip to content

Commit

Permalink
fix: flashbang
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Sep 23, 2023
1 parent fd55596 commit 513c6eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/spa-loading-template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<style>
body {
background-color: #1b1b1f;
}
</style>
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { isDevelopment } from 'std-env'
export default defineNuxtConfig({
ssr: false, // Firebase
devtools: { enabled: true },
spaLoadingTemplate: './app/spa-loading-template.html',

vue: {
defineModel: true,
Expand Down
6 changes: 6 additions & 0 deletions pages/app/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ useHeadSafe({
titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} - SSTAA` : 'SSTAA'
},
meta: [
{
name: 'color-scheme',
content: 'dark',
},
],
link: [
{
rel: 'icon',
Expand Down

0 comments on commit 513c6eb

Please # to comment.