diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 8e7d15d..d7984ef 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -13,6 +13,6 @@ -
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 8e899bc..e25191c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,8 +1,13 @@
欢迎访问XParCai工具库
+
+ + JSONToTSType + +
diff --git a/src/routes/JSONToTSType/+page.svelte b/src/routes/JSONToTSType/+page.svelte new file mode 100644 index 0000000..3886e12 --- /dev/null +++ b/src/routes/JSONToTSType/+page.svelte @@ -0,0 +1 @@ +
json2tstype
diff --git a/uno.config.ts b/uno.config.ts index 952998f..0d65f21 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -12,7 +12,7 @@ import { transformerVariantGroup, } from 'unocss' import extractorSvelte from '@unocss/extractor-svelte' -import { getCSSPreflights, presetIkun } from '@ikun-ui/preset' +import { getCSSPreflights, getSafeList, presetIkun } from '@ikun-ui/preset' import { localIconCollections } from './collection-icons' export default defineConfig({ @@ -51,8 +51,7 @@ export default defineConfig({ getCSS: () => `:root {${getCSSPreflights()}}`, }, ], + safelist: [...getSafeList()], shortcuts: [], rules: [], - safelist: [], - })