ctjp / meteor-bootstrap-switch Goto Github PK
View Code? Open in Web Editor NEWA customizable Meteor package for https://github.com/nostalgiaz/bootstrap-switch
License: Apache License 2.0
A customizable Meteor package for https://github.com/nostalgiaz/bootstrap-switch
License: Apache License 2.0
Hi,
Thanks very much for publishing this meteor package.
I would be very grateful if you could bump the package with the latest released BootstrapSwitch version (v3.3.0). It is supposed to include a fix for a particularly annoying bug I have just wasted a day trying to workaround before I realised it was a known, and recently-fixed issue!
What is the recommended bootstrap package which works with meteor-bootstrap-switch ?
I noticed, you only included the .less files in your package.js:
api.addFiles([
'lib/bootstrap-switch/src/less/bootstrap2/bootstrap-switch.less',
'lib/bootstrap-switch/src/less/bootstrap3/bootstrap-switch.less',
'lib/bootstrap-switch/dist/js/bootstrap-switch.js',
], 'client');
bootstrap-switch.less will fail to compile if someone (for example) uses the official meteor bootstrap package, which includes precompiled css only:
https://atmospherejs.com/twbs/bootstrap
I suggest replacing the less files with precompiled css to resolve this issue, and when users wish to customize bootstrap itself (or any 3rd party extensions), then they should not use any bootstrap meteor packages at all and switch to manually adding the needed bootstrap js & less files to the project (preferably under /client/compatibility) and also manually add all needed js & less for all 3rd party bootstrap widgets they choose.
IMO, I think that all meteor packages wrapping bootstrap widgets should include precompiled css only to work out-of-the-box. Some examples:
Hi, I tried to install it but it requires an older version of autoform, can you please update it?
Error:
While selecting package versions:
error: Potentially incompatible change required to top-level dependency: aldeed:autoform
4.2.2, was 5.5.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.