Code Monkey home page Code Monkey logo

Comments (10)

AllenFang avatar AllenFang commented on August 28, 2024

HI @io3 , can you try to import react-bootstrap-table.min.css?

from react-bootstrap-table.

luqin avatar luqin commented on August 28, 2024

the same error too

from react-bootstrap-table.

AllenFang avatar AllenFang commented on August 28, 2024

can you try add less-loader again for a temporary work, I think theres some mistake in my css bundling process. sorry ;( I'll fix it quickly

from react-bootstrap-table.

AllenFang avatar AllenFang commented on August 28, 2024

hi @io3 , use v1.0.2 again

from react-bootstrap-table.

luqin avatar luqin commented on August 28, 2024

@import "../node_modules/toastr/build/toastr.min.css"; can not exits in /css/react-bootstrap-table.css.
Because i depend toastr immediate.

from react-bootstrap-table.

AllenFang avatar AllenFang commented on August 28, 2024

hi @io3, I think you should import react-bootstrap-table.min.css. because react-bootstrap-table.css include the code @import "../node_modules/toastr/build/toastr.min.css", but it's not resolve and bundle, so use the react-bootstrap-table.min.css which is bundling. The bug you found is a PR add @import "../node_modules/toastr/build/toastr.min.css" but I don't notice it. Anyway I've concat the react-bootstrap-table.css and toastr.min.css in react-bootstrap-table.min.css, so include react-bootstrap-table.min.css should solve this issues

from react-bootstrap-table.

luqin avatar luqin commented on August 28, 2024

但是如果我引用了toastr的css的话,会重复加载css

from react-bootstrap-table.

AllenFang avatar AllenFang commented on August 28, 2024

you're right, but I think it's another issue about loading toastr css with react-bootstrap-table. I'll find some solutions like separate the toastr and react-bootstrap-table css code or something like that. which you can choice what bundling css you want to import, but it need some times, However I want to know there's no any error for using react-bootstrap-table?

from react-bootstrap-table.

luqin avatar luqin commented on August 28, 2024

这肯定是没问题的

from react-bootstrap-table.

AllenFang avatar AllenFang commented on August 28, 2024

Thanks your feedback :) I will open another issue for the toastr problem and fix it

from react-bootstrap-table.

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.