2016-11-07 942 views

回答

10

注意:

我才意识到的设备之间的差异与npm installyarn

下面是我用了两个命令:

yarn add [email protected]-alpha.6 --dev 
npm install [email protected] --save-dev 

正确的/当前版本4.0.0引导,alpha.6包含这个文件:

/node_modules/bootstrap/scss/_tags.scss 

安装了NPM,该文件按预期存在。但通过纱线安装,此文件丢失。即使在中更改[email protected]^4.0.0-alpha.6[email protected]未能解决此问题。

+0

是否没有办法让纱线与纱线一起使用? – GameKyuubi

+0

实际上在github页面上看到最新版本https://github.com/twbs/bootstrap/releases –

1

引导4目前正处于测试阶段,所以你可以做到以下几点:

yarn add [email protected]