Git Product home page Git Product logo

Comments (4)

bedrich-schindler avatar bedrich-schindler commented on August 16, 2024 1

Hello,

It is our fault. Although we have released new version and changed the documentation, we haven't deploy it to docs.bootstrap-ui.com yet. It is gonna be done after the weekend. Neverthless it can be found at https://github.com/visionappscz/bootstrap-ui/blob/master/src/less/homepage.md

JavaScript and CSS files in dist folder are just minified files, those files does not contain dependency libraries like bootstrap, jquery, select2 etc. You have to import them manually. Principles does not changed from previous version, you just need to import them fromnode_modules instead of bower_components.

I am not a front-end guy, my front-end collegues might be more clever than me but there exists less variable @external-components-pathwhich is newly set to node_modules/ as default (instead of bower_components/) and it can be overridden by you, so check if it is set correctly. Also check if select2 and other deps are installed in node_modules. At one of our projects, I switched BUI to version 3.0 using grunt and everything works so I hope it will work on webpack as well. If this does not help, please write back to solve it with our front-end guys.

from bootstrap-ui.

literat avatar literat commented on August 16, 2024

Hi,

thank you for your support and hint with @external-components-path. It was very usefull although I cannot use relative path and I have to specify path as @external-components-path: '~'; and let a webpack resolve it for me (inspiration came from here: webpack-contrib/css-loader#253)

I am also not a frontend guy but at this time it just works. Thank you for your help.

from bootstrap-ui.

kathryn-thompson avatar kathryn-thompson commented on August 16, 2024

I have this same issue but can't see how to resolve it using LESS.

I'm using bootstrap-ui 3.0.0.

Can you assist?

from bootstrap-ui.

kathryn-thompson avatar kathryn-thompson commented on August 16, 2024

For others who have been struck on this; my workaround is this in package.json

"postinstall": "cp node_modules/bootstrap-ui/node_modules/select2/*.png node_modules/bootstrap-ui/dist/css/ && cp node_modules/bootstrap-ui/node_modules/select2/*.gif node_modules/bootstrap-ui/dist/css/"

It's far from ideal but seems to work

from bootstrap-ui.

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.