2017-05-26 4 views
-1

私はwebpackでAngular4を使用しています。サードパーティライブラリcssが読み込まれていません。これらはGithub(https://gist.github.com/shafaqkazmi/37342bee92f3ca56530c288de5b3b566)にアップロードされたwebpack.common.jsとvendor.tsです。角度4(webpack)Thirs part libraries CSSは含まれていません

バージョンの詳細:

@angular/cli: 1.0.3 
node: 6.10.3 
os: win32 x64 
@angular/common: 4.1.2 
@angular/compiler: 4.1.2 
@angular/core: 4.1.2 
@angular/forms: 4.1.2 
@angular/http: 4.1.2 
@angular/platform-browser: 4.1.2 
@angular/platform-browser-dynamic: 4.1.2 
@angular/router: 4.1.2 
@angular/cli: 1.0.3 
@angular/compiler-cli: 4.1.2 

答えて

0

あなたが明示的にインポートする必要があり、通常はどちらかのメインSCSSファイルやメインアプリケーションファイルで行います。

+0

ありがとう@Chase。問題はJS/CSSファイルを 'vendor.js'に追加することで解決しました –

関連する問題