Separate official website page

This commit is contained in:
2023-12-28 17:50:26 +08:00
parent 81d6f0ac29
commit 0b8df09336
33 changed files with 125 additions and 980 deletions

View File

@@ -49,7 +49,7 @@ export default defineConfig({
IconsResolver({
prefix: 'icon',
extension: 'jsx',
customCollections: ['fatweb']
customCollections: ['oxygen']
}),
AntDesignResolver({
resolveIcons: true
@@ -69,7 +69,7 @@ export default defineConfig({
jsx: 'react',
autoInstall: true,
customCollections: {
fatweb: FileSystemIconLoader('src/assets/svg', (svg) =>
oxygen: FileSystemIconLoader('src/assets/svg', (svg) =>
svg.replace(/^svg /, '<svg fill="currentColor"')
)
}