Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4837

Tutorial to add 3rd party bootstrap template

$
0
0

@UsuallyReliable wrote:

I have followed the Embercasts tutorial on how to build an Ember application. Though, one big thing that was glossed over was the choice of CSS template. Embercasts uses their own that is downloaded via NPM. This is nice, but it kind of short circuits the tutorial.

I downloaded the INSPINIA theme and would like to use that (see steps below). Is this possible? Am I doing something wrong or do I need to use Ember specific templates? I am new to this so any help is greatly appreciated

https://wrapbootstrap.com/theme/inspinia-responsive-admin-theme-WB0R5L90S

The steps I have taken so far: 1.) installed ember-bootstrap 2.) installed the SASS pre-processor 3.) I copied the scss files into app\styles 4.) In app.scss, I added the following line:

@import “style”;

5.) My Ember-cli0build.js is as follows:

‘use strict’;

const EmberApp = require(‘ember-cli/lib/broccoli/ember-app’);

module.exports = function(defaults) {

let app = new EmberApp(defaults, {

'ember-bootstrap': {
  'bootstrapVersion': 4,
  'importBootstrapFont': false,
  'importBootstrapCSS': false
}

});

return app.toTree();

};

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4837

Trending Articles