arvinxx / dumi-theme-antd-style

dumi-theme for antd-style site
https://dumi-theme-antd-style.arvinx.com
MIT License
75 stars 37 forks source link

🧐[问题]安装好库之后,不经过任何改动,直接start项目。跑起来了发现首页的名称错位了 #79

Closed Peek-A-Booo closed 11 months ago

Peek-A-Booo commented 12 months ago

🧐 问题描述

安装好库之后,不经过任何改动,直接start项目。跑起来了发现首页的名称错位了。

💻 示例代码

没有使用Hero组件和themeConfig.hero配置,直接用的是 index.md 里面的hero信息

import { defineConfig } from 'dumi';

export default defineConfig({
  outputPath: 'docs-dist',
  themeConfig: {
    logo: '/favicon.png',
    name: 'LX-UI',
  },
  favicons: ['/favicon.png'],
});

index.md配置如下

hero: title: LX-UI description: 一个简简单单的 React UI Library actions:

🚑 其他信息

img

Peek-A-Booo commented 12 months ago

发现是Tailwindcss样式污染了,不知道有没有什么比较好的解决方案

arvinxx commented 12 months ago

发现是Tailwindcss样式污染了,不知道有没有什么比较好的解决方案

Tailwindcss 的啥样式污染了啥样式?具体描述一下?