Angular2 + ng-bootstrap Example

后端 未结 1 1740
我在风中等你
我在风中等你 2020-12-19 17:44

I started to learn Angular2 and I want to use ng-bootstrap in my project. However, I could not make a working project. It fails on importing ng-bootstrap. Since I am a begin

相关标签:
1条回答
  • 2020-12-19 18:15

    I changed the

    'ng-bootstrap':       { main: 'index.js', defaultExtension: 'js' } 
    

    line in systemjs.config.js as

    '@ng-bootstrap/ng-bootstrap':         { main: 'index.js', defaultExtension: 'js' }
    

    And it worked!

    0 讨论(0)
提交回复
热议问题