GithubHelp home page GithubHelp logo

关于引入css库问题 about weflow HOT 2 CLOSED

tencent avatar tencent commented on May 21, 2024
关于引入css库问题

from weflow.

Comments (2)

sinceow avatar sinceow commented on May 21, 2024

解决了,不使用 import, 而是将所有的CSS文件都当成入口,换成 style-* 前缀,但还有个问题就是如果使用 Iconfont 那 fonts 字体文件应该放在什么位置?

from weflow.

littledu avatar littledu commented on May 21, 2024

用 LESS 的 @import 引入 css �模块文件,是可以监听的,你看看 log 面板是不是引入的 css 文件哪里报错了。

fonts 字体目前没有去具体分目录,在这里你需要把它们在 media 目录下,只有这个目录现在是对所有文件操作的。

from weflow.

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.