angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.13k stars 1.24k forks source link

Problem with boostrap with 5.0.0-rc1 version #2713

Open nickamorg opened 6 years ago

nickamorg commented 6 years ago
bootstrap_problem

nd feature requests.

generator-angular-fullstack | 5.0.0-rc1 Node | 8.11.1 npm | 5.6.0 Operating System | Windows 10

Transpiler | Babel Markup | HTML CSS | CSS Router | There wasn't any option Client Tests | Mocha DB | MongoDB Auth | Y Bootstrap | Y

Despite the fact that I have included the Bootstrap option(and UI Bootstrap), there is no result on the page, either the code when checking with inspector.

Is there any recommedation about that?

Best regards

Awk34 commented 6 years ago

Do you get any errors? Is the bootstrap CSS being injected onto the page?

nickamorg commented 6 years ago

Do you get any errors?

No, only some warnings on the client side, like so: http://prntscr.com/j8up3o

Is the bootstrap CSS being injected onto the page?

No, it isn't in the page. Also, I can't find how it is imported or how it should be imported. With the previous versions I could find it in the file "client/app/app.js", but not anymore.

Awk34 commented 6 years ago

If you selected bootstrap, it should be imported directly in the CSS file: https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/client/app/app(css).css#L2