Skip to content

Bootstrap 4 not being loaded in html #207

@alex88

Description

@alex88

I've installed bootstrap-loader along with bootstrap beta 4.

My project derives from https://github.com/preboot/angular2-webpack, I've included bootstrap-loader in the vendor.ts file, this is my bootstraprc

loglevel: debug
bootstrapVersion: 4
styleLoaders:
  - style-loader
  - css-loader
  - postcss-loader
  - sass-loader
extractStyles: true

and this is the log:

[bootstrap-loader]:  bootstrap-loader is in DEBUG mode because you have your config log level set to 'debug'.
[bootstrap-loader]:  Using config file /Users/alex/Sites/myapp-frontend/.bootstraprc
[bootstrap-loader]:  Query from webpack config: *none*
[bootstrap-loader]:  Using Bootstrap module: bootstrap
[bootstrap-loader]:  Bootstrap module location (abs): /Users/alex/Sites/myapp-frontend/node_modules/bootstrap
[bootstrap-loader]:  Bootstrap module location (rel): ../bootstrap
[bootstrap-loader]:  Context: /Users/alex/Sites/myapp-frontend/node_modules/bootstrap-loader
[bootstrap-loader]:  Using Bootstrap version: 4
[bootstrap-loader]:  Bootstrap NPM package version: 4.0.0-alpha.4
[bootstrap-loader]:  Normalized params:
 { bootstrapVersion: 4,
  loglevel: 'debug',
  preBootstrapCustomizations: undefined,
  bootstrapCustomizations: undefined,
  appStyles: undefined,
  disableSassSourceMap: undefined,
  disableResolveUrlLoader: undefined,
  useFlexbox: undefined,
  useCustomIconFontPath: undefined,
  extractStyles: true,
  styleLoaders: [ 'style-loader', 'css-loader', 'postcss-loader', 'sass-loader' ],
  styles: false,
  scripts: false,
  configFilePath: '/Users/alex/Sites/myapp-frontend/.bootstraprc',
  bootstrapPath: '/Users/alex/Sites/myapp-frontend/node_modules/bootstrap',
  bootstrapRelPath: '../bootstrap' }
[bootstrap-loader]:  Requiring:

however, no css is present in the html, any clue?

Update: I've tried also with the #201 branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions