richerlariviere / bootstrap_for_pub Goto Github PK
View Code? Open in Web Editor NEWPackaging bootstrap for Dart's package manager, pub.
License: MIT License
Packaging bootstrap for Dart's package manager, pub.
License: MIT License
I know it is still 4.0.0-alpha.6, but it would nice to use this package with version 4.
Production would currently work because of the transformer pointing to the CDN, but the local files are at version 3.3.7
Noticed that calling pub build
when this package is a dependency does not copy over the css files.
Either the repo should be moved or the pubspec should be updated:
https://github.com/sethladd/bootstrap_for_pub/blob/master/pubspec.yaml#L10
Hello!
I have some problems trying to use the glyphicons.
I have installed the package of bootstrap for dart version 3.3.0+4. When i'm trying to show some glyphicons,it renders a ascii character or similar. For instance the sentence:
renders a rhombus in my screen.
Or when i use , it renders a "[".
It happens with every glyphicons.
I'm using dartium (chromium) to run (and check) the app in Ubuntu 14.04.
Other bootstrap styles-applications works fine, it happens just with glyphicons.
Thanks in advance.
(I'm not sure if this bug comes from the package or from the own bootstrap. Sorry for any inconvenience)
As discussed on Twitter
https://travis-ci.org/richerlariviere/bootstrap_for_pub
I don't have privileges to turn Travis on for this repo. It would be good to have the badge on the README as well.
I add this code in my index.html
<script src="packages/bootstrap/jquery/jquery.js"></script>
<script src="packages/bootstrap/js/bootstrap.js"></script>
The project works fine in my local machine with pub serve. It's using the path "build/packages/bootstrap/jquery/jquery.js"
After run "pub build" I get this error:
GET http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/jquery/jquery.min.js 403 (Forbidden)
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery
at bootstrap.min.js:6
It seems that http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/jquery/jquery.min.js is not a valid path. Doesn't exist!
My pubspec.yaml contains:
- bootstrap:
url: //maxcdn.bootstrapcdn.com/bootstrap/{{version}}
version: 3.3.7
Any idea? Thanks!
Developers serious about Bootstrap use the LESS version (or the Sass version).
The following entry has to be introduced in the html pages to use bootstrap:
<link rel="stylesheet" href="packages/bootstrap_for_pub/3.1.0/css/bootstrap.min.css">
however, due to the fact the the version is in the path ('/3.1.0/'), the user is forced to manually change the html code on each version upgrade. In this case, if the dependency is declared as:
dependencies:
bootstrap_for_pub: ">=3.1.0+2 <4.0.0"
a simple "pub upgrade" could silently break the application.
Hi there,
First off, let me say... thanks for your work on this!!!
It appears that the master branch of this repository has a commit that moves from depending on html5lib
to html
(83b274f).
Are there any plans to pub publish
the latest master?
Need to setup continuous integration.
@richerlariviere I think in order to have continuous integration setup for this I would need admin access.
I think I'll set it up on my fork first, include the .travis.yml
on a PR, and then you'll need to sign into Travis and flip the switch. If you want the badge and stuff on the README we'll need to update it with that as well.
The bootstrap_for_pub
name is a bit awkward - what about just renaming the package to bootstrap
?
I no longer have time to maintain this package. Please contact me if any of you are interested.
Uncaught TypeError: Cannot read property 'fn' of undefined
at setTransitionEndSupport (bootstrap.bundle.js:115)
at bootstrap.bundle.js:190
at bootstrap.bundle.js:192
at bootstrap.bundle.js:9
at bootstrap.bundle.js:10
favicon.png Failed to load resource: the server responded with a status of 404 (Not Found)
Navigated to http://localhost:45617/index.html
util.js:68 Uncaught TypeError: Cannot read property 'fn' of undefined
at util.js:68
at util.js:10
at bootstrap.bundle.min.js:6
at bootstrap.bundle.min.js:6
Are these the latest files?
Pub resolution fails on projects that use Dart SDK 2.0.0+
At the transition to Angular 4, the bootstrap package ceased to be assembled due to the fact that the html5lib package was changed(https://pub.dartlang.org/packages/html5lib)
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.