Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/sql-server-2008/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 引导自定义发生了什么?_Twitter Bootstrap_Bootstrap 4 - Fatal编程技术网

Twitter bootstrap 引导自定义发生了什么?

Twitter bootstrap 引导自定义发生了什么?,twitter-bootstrap,bootstrap-4,Twitter Bootstrap,Bootstrap 4,引导程序3使用此自定义选项: 但是,我找不到Bootstrap4的这样一个链接。我只是在建立一个简单的网站,肯定不会使用它80%的功能。我也不想要JS的大部分功能。如何实现这一点?此功能尚未在Bootstrap 4 afaik中 但是您可以修改SCSS文件并构建引导css和js文件 这就是@mdo所说的 这与在bootstrap.scss中注释掉导入语句基本相同。我知道当涉及到共享组件时会有更多的内容,但基本上是1:1。以前有人要求过,我当时是通行证,现在也是 检查引导问题/功能请求 范例 @i

引导程序3使用此自定义选项:


但是,我找不到Bootstrap4的这样一个链接。我只是在建立一个简单的网站,肯定不会使用它80%的功能。我也不想要JS的大部分功能。如何实现这一点?

此功能尚未在Bootstrap 4 afaik中

但是您可以修改SCSS文件并构建引导css和js文件

这就是@mdo所说的

这与在bootstrap.scss中注释掉导入语句基本相同。我知道当涉及到共享组件时会有更多的内容,但基本上是1:1。以前有人要求过,我当时是通行证,现在也是

检查引导问题/功能请求

范例

@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
@import "node_modules/bootstrap/scss/root";
@import "node_modules/bootstrap/scss/print";
@import "node_modules/bootstrap/scss/reboot";
@import "node_modules/bootstrap/scss/type";
//@import "node_modules/bootstrap/scss/images";
@import "node_modules/bootstrap/scss/code";
@import "node_modules/bootstrap/scss/grid";
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/buttons";
@import "node_modules/bootstrap/scss/transitions";
更新:


这是一个非常好的在线引导自定义程序

对于引导4,将不会有任何自定义程序:

删除了联机自定义程序,以便进行更广泛的设置 文档和定制构建

()


但是,如果您想在web上自定义Bootstrap,您可以使用第三方工具,如。

我最终使用了Bootstrap 3,自定义的css和js总共只有51kb。Bootstrap4对于这个特定的项目来说太大了!谢谢。看起来真的很不错,有没有办法改变功能?否则,我仍将不得不注释掉这些行,然后自己从中编译。我怀疑我们是否可以更改某个特定功能,因为有些功能与其他功能相链接。但是你可以试着在sass文件中发表评论,看看是否得到遵守,或者回复更改。这就是为什么正式放弃在线定制工具,尽管它很有用?@iamjustcoder我没有找到比我引用的信息更广泛的陈述。。。