Skip to content

Commit

Permalink
Add bootstrap styles to demo-page
Browse files Browse the repository at this point in the history
  • Loading branch information
onechiporenko committed Mar 3, 2020
1 parent 02c47c8 commit a394300
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = function(defaults) {
}
switch(process.env.EMT_UI) {
case 'bs3': {
options.outputPaths.app.css['bs'] = '/assets/bs.css';
options['ember-bootstrap'] = {
bootstrapVersion: 3,
importBootstrapCSS: true,
Expand All @@ -44,6 +45,7 @@ module.exports = function(defaults) {
break;
}
case 'bs4': {
options.outputPaths.app.css['bs'] = '/assets/bs.css';
options['ember-bootstrap'] = {
bootstrapVersion: 4,
importBootstrapCSS: true
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/app.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/paper.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/plain-html.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/bs.css">

{{content-for "head-footer"}}
<script async defer src="https://buttons.github.io/buttons.js"></script>
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/styles/bs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "ember-bootstrap/bootstrap";

0 comments on commit a394300

Please sign in to comment.