Git Product home page Git Product logo

Comments (5)

smyth64 avatar smyth64 commented on July 20, 2024 2

Hey @qdouble
I looked at your bootstrap branch.
I realized we don't need to use the bootstrap-loader as I did.

Just as simple as you did:

@import 'variables';
@import 'bootstrap/scss/bootstrap.scss';

Works fine :)
Now the website is really fast! Thank you so much!

I hope the problem with ng-bootstrap will be fixed soon, then everything will be awesome !!

from angular-webpack-starter.

smyth64 avatar smyth64 commented on July 20, 2024

OK it works now :)

For anybody facing the same problem:

npm install --save bootstrap tether jquery

main.browser.ts

import 'jquery';
import 'tether';

And in your app.scss

@import 'variables';
@import 'bootstrap/scss/bootstrap.scss';

Or just have a look at the bootstrap branch ;-)

Thanks @qdouble for this reeeeally awesome repo 👍 👍 👍

from angular-webpack-starter.

qdouble avatar qdouble commented on July 20, 2024

Great, glad you figured it out 😄 👍

from angular-webpack-starter.

smyth64 avatar smyth64 commented on July 20, 2024

Unfortunately it doesn't work with AoT..

AoT is compiling fine but the bootstrap css is not loaded :/

from angular-webpack-starter.

qdouble avatar qdouble commented on July 20, 2024

@smith64fx I have a branch with bootstrap 4 and ng-bootstrap, but the aot is currently working correct, but the ng-bootstrap team is working on it. I'll update that branch when ever that's working right.

from angular-webpack-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.