From 02ad97dfc2181e353c2e1a931c848b43166f7d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Mon, 8 Aug 2022 14:59:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(unocss):=20=F0=9F=90=9B=20fix=20metadata=20?= =?UTF-8?q?icon=20error=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closed #28 --- src/routes/__layout.svelte | 1 + vite.config.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index c311e8e6..88852814 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -18,6 +18,7 @@ import { registerSW } from 'virtual:pwa-register' import Head from '$lib/components/head_static.svelte' import Header from '$lib/components/header.svelte' + import 'uno.css' import '../app.css' export let res: Urara.Post[] export let path: string diff --git a/vite.config.ts b/vite.config.ts index 3ee65486..705fb703 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,7 +32,6 @@ export default defineConfig({ }, plugins: [ UnoCSS({ - mode: 'svelte-scoped', include: [/\.svelte$/, /\.md?$/, /\.ts$/], extractors: [extractorSvelte], presets: [