-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version without bootstrap #28
Comments
Nope. The frontend is a bootstrap theme. |
@yogiben This is important because if you're using other frameworks like Cheers |
The difference between I'm happy to accept a PR. |
Maybe add an option in the config to "lazyload" Bootstrap and/or FontAwesome. To give you an impression: Config @AdminConfig =
lazyLoad: {
bootstrap: true
fontawesome: false
} /lib/both/router.coffee @AdminController = RouteController.extend
onBeforeAction: ->
# Some stuff omitted..
if AdminConfig.lazyLoad.bootstrap
$("<link/>", {
rel: "stylesheet"
type: "text/css"
href: "//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"
}).appendTo('head')
if AdminConfig.lazyLoad.fontawesome
$("<link/>", {
rel: "stylesheet"
type: "text/css"
href: "//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
}).appendTo('head')
@next() I just wrote this from the top of my head, but this is how that PR could look like. |
Made a PR #183 |
any news here? can't use this package because bootstrap styles leaks to the app... |
The new version loads meteor-admin stylesheets lazily. It doesn't work for bootstrap files but we are working on this. |
has any progress been made on this? |
Old topic. Still no solution? |
Hey, I don't really want to import bootstrap as well in my application.
Would it be possible to make a version without bootstrap as dependency?
The text was updated successfully, but these errors were encountered: