Git Product home page Git Product logo

Comments (7)

Atw-Lee avatar Atw-Lee commented on June 22, 2024
<StyleProvider transformers={[legacyLogicalPropertiesTransformer]}>
  <div className={styles.cscecTreasurerContainer}>
    <Context.Provider value={contextValue}>
      {!urlParams.hideHeader && (
        <Header
          setUnit={setUnit}
          unit={unit}
          setDate={setDate}
          date={date}
          setPeriodType={setPeriodType}
          periodType={periodType}
        />
      )}
      <Outlet />
    </Context.Provider>
  </div>
</StyleProvider>

from cssinjs.

Atw-Lee avatar Atw-Lee commented on June 22, 2024

报错问题解决了,将cssinjs的版本和antd的版本保持一致。
但360上的样式兼容还是不行

from cssinjs.

Atw-Lee avatar Atw-Lee commented on June 22, 2024

我引入了antd4的css文件

from cssinjs.

UmbraCi avatar UmbraCi commented on June 22, 2024

报错问题解决了,将cssinjs的版本和antd的版本保持一致。 但360上的样式兼容还是不行
@ant-design/cssinjs这个包需要独立安装吗,我看到是antd的子依赖,但是我引用的时候报错找不到这个模块:pnpm的安装方式

from cssinjs.

jiajiaxing1 avatar jiajiaxing1 commented on June 22, 2024

错问题解决了,将cssinjs的版本和antd的版本保持一致。

你好 怎么确定cssinjs和antd版本保持一致了?在哪里可以看到吗
比如[email protected]的版本 需要匹配什么版本的cssinjs?

from cssinjs.

Atw-Lee avatar Atw-Lee commented on June 22, 2024

很抱歉我忘记这是个啥bug了,从描述来看,我想表达的可能在项目中安装一下@ant-design/cssinjs这个包,版本和node_modules里antd里的@ant-design/cssinjs版本保存一致。

错问题解决了,将cssinjs的版本和antd的版本保持一致。

你好 怎么确定cssinjs和antd版本保持一致了?在哪里可以看到吗 比如[email protected]的版本 需要匹配什么版本的cssinjs?

from cssinjs.

Atw-Lee avatar Atw-Lee commented on June 22, 2024

报错问题解决了,将cssinjs的版本和antd的版本保持一致。 但360上的样式兼容还是不行
@ant-design/cssinjs这个包需要独立安装吗,我看到是antd的子依赖,但是我引用的时候报错找不到这个模块:pnpm的安装方式

很抱歉现在才看到这个问题,无法引用是因为pnpm的问题,它无法引用项目中的非直接依赖。

from cssinjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.