npm-css 不导入 bootstrap.css 的整个文件
npm-css import not entire file of bootstrap.css
我有 Ionic 应用程序并尝试使用来自 Angular UI Bootstrap 的 Datepicker。它没有自己的样式文件并使用 bootstrap.css。所以我安装了 bootstrap 并尝试在我的 index.css 文件中使用 npm-css 导入样式文件:
@import "bootstrap";
那我用
npm-css index.css -o bundle.css
问题是 bundle.css 文件不包含整个 bootstrap.css 文件。
控制台中只有关于 bootstrap 字形的错误,我认为这与我的问题无关。
在此之前我使用 npm-css 没有任何问题。
npm-css
似乎有问题,我听不懂。但是当我切换到 rework-npm
时,所有整个文件都被导入并且一切正常。
我有 Ionic 应用程序并尝试使用来自 Angular UI Bootstrap 的 Datepicker。它没有自己的样式文件并使用 bootstrap.css。所以我安装了 bootstrap 并尝试在我的 index.css 文件中使用 npm-css 导入样式文件:
@import "bootstrap";
那我用
npm-css index.css -o bundle.css
问题是 bundle.css 文件不包含整个 bootstrap.css 文件。 控制台中只有关于 bootstrap 字形的错误,我认为这与我的问题无关。
在此之前我使用 npm-css 没有任何问题。
npm-css
似乎有问题,我听不懂。但是当我切换到 rework-npm
时,所有整个文件都被导入并且一切正常。