1
私はAngular 4、Bootstrap、font-awesomesを使ったEコマースプロジェクトに取り組んでいます。また、.scssファイルとangular-cliを使用しています。私自身で。 すべてのライブラリ、イメージ、およびすべてのファイルをオフラインでインストールしました。角度4プロジェクトがオフラインで動作しない
私はプロジェクトの仕事をオフラインにしていますが、スタイルがなく、スライダが動作しない場合、そして私がオンラインであれば動作します。
オンライン=>The slider is work and there is no problem
オフライン=>Slideer is not working 、それは私に、私はプロジェクトをオフラインと作品を実行できるように
Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSq-j2U0lmluP9RWlSytm3ho.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSpX5f-9o1vgP2EXwfjgl7AY.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNShWV49_lSm1NYrwo-zkhivY.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSqaRobkAwv3vxw3jMhVENGA.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSv8zf_FOSsgRmwsS7Aa9k2w.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSj0LW-43aMEzIO6XUTLjad8.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: https://fonts.gstatic.com/s/opensans/v15/MTP_ySUJH_bn48VBG8sNSugdm0LZdjqr5-oayXSOefg.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: http://localhost:4200/glyphicons-halflings-regular.448c34a56d699c29117a.woff2
localhost/:1 Slow network is detected. Fallback font will be used while loading: http://localhost:4200/fontawesome-webfont.fee66e712a8a08eef580.woff
localhost/:1 Slow network is detected. Fallback font will be used while loading: http://localhost:4200/fontawesome-webfont.b06871f281fee6b241d6.ttf
core.es5.js:2925 Angular is running in the development mode. Call enableProdMode() to enable the production mode.
が、私は解決策が必要コンソールでこれらのメッセージを与えましたよく似ています
[This](https://coryrylan.com/blog/fast-offline-angular-apps-with-service-workers)をご覧ください投稿 – jitender
自分のサーバーにフォントをホストしよう – Paul
@Paul how iこれはできますか? –