
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
ember-cli-bootstrap3-sass
Advanced tools
This addon installs the bootstrap3 javascript components and fonts. Once installed, you can compile the bootstrap sass into your app. Understand that this addon is for Ember applications that are compiling their styles using SASS. __If your Ember appli
This addon installs the bootstrap3 javascript components and fonts. Once installed, you can compile the bootstrap sass into your app. Understand that this addon is for Ember applications that are compiling their styles using SASS.
If your Ember application is using pure CSS or LESS, than this addon is NOT for you.
This addon will make sure that the latest version of the
ember-cli-sass
Ember Addon is
installed in your Ember-App. In addition, the latest version of the
bootstrap-sass
library from
bower will be downloaded in order to acquire the javascript, fonts,
and SASS source. The relevant javascript and font files are copied to
your Ember-App's assets
directory and are then referred to from the
stylesheet.
Installation is basically two simple steps: one install the addon,
and two import the SASS source into your app.scss
file.
The following will install this addon along with the bootstrap-sass source and fonts:
$ ember install ember-cli-bootstrap3-sass
Next, inside your app/styles/app.scss
file you must compile the
bootstrap source into your application's stylesheet:
// `app/styles/app.scss`
...
@import 'ember-cli-bootstrap3-sass';
...
Access to Bootstrap's alternate theme is as simple as adding one
more import: ember-cli-bootstrap3-theme
. So your
app/styles/app.scss
should look like this:
// `app/styles/app.scss`
...
@import 'ember-cli-bootstrap3-sass';
@import 'ember-cli-bootstrap3-theme';
...
So it should go without saying, if you want to include some other canned theme from bower or wherever, you can include it just after the aforementioned import(s).
Sometimes you need access to the default Bootstrap variables or you require Bootstrap's mixins to generate prior to your loading of the full bootstrap suite. I've included both convenience imports to this addon.
// `app/styles/app.scss`
...
@import 'ember-cli-bootstrap3-variables';
...
The bootstrap variables will now be available for you to override or re-use in whatever way you see fit.
// `app/styles/app.scss`
...
@import 'ember-cli-bootstrap3-mixins';
...
The bootstrap mixins will be available once this has been imported.
By default, this addon takes care of the Glyphicon font paths for you.
If for some reason you need to customize this path, you can do so
by supplying the $icon-font-path
variable value before you import
ember-cli-bootstrap3-sass
. Make sure the path you specify includes
the trailing slash!
// `app/styles/app.scss`
...
$icon-font-path: '/some/absolute/path/'
@import 'ember-cli-bootstrap3-sass';
...
If you want to upgrade this addon at any time, simply invoke
the ember install ember-cli-bootstrap3-sass
command.
When working through the Ember-CLI upgrade process, I again recommend
invoking the ember install ember-cli-bootstrap3-sass
command to get
the latest version of the addon. Notice that this may update the
bootstrap-sass
bower dependency to the latest 3.x.x version.
ember-cli-sass
to be configured in your application. This means
that by default your styles have been compiled inside your
app/styles/app.scss
file. If you've adjusted the configuration to use a
different file, then you must add the
@import 'ember-cli-bootstrap3-sass'
directive there.bower.json
to ensure the version
you want is being brought into your application. Understand that this
addon does not entertain installing bootstrap-4 at this time.git clone git@github.com:cybertoothca/ember-cli-bootstrap3-sass.git
npm install
bower install
ember server
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
npm link
command to link this addon within your local
node repository.npm link ember-cli-bootstrap3-sass
.package.json
and add the ember addon with the version *. It will
look something like this: "ember-cli-bootstrap3-sass": "*"
. Now
when/if you execute npm install
on this other project it
will know to look for the linked addon rather than fetch it from
the central repository.npm uninstall -g ember-cli-bootstrap3-sass
ember-cli-bootstrap3-sass
in your other project's package.json
.npm prune
from the root of your other project's command line.FAQs
This addon installs the bootstrap3 javascript components and fonts. Once installed, you can compile the bootstrap sass into your app. Understand that this addon is for Ember applications that are compiling their styles using SASS. __If your Ember appli
The npm package ember-cli-bootstrap3-sass receives a total of 2 weekly downloads. As such, ember-cli-bootstrap3-sass popularity was classified as not popular.
We found that ember-cli-bootstrap3-sass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.