2_bootstrap的环境搭建

2bootstrap环境搭建

2.1、下载资源

2.2、目录结构

Javaee使用bootStrap开发,主要使用dist发布版目录。

dist目录结构如下:
bootstrap/ ├── css/ │ ├── bootstrap.css //bootstrap完整版的CSS文件。 │ ├── bootstrap.css.map │ ├── bootstrap.min.css //bootstrap压缩版CSS文件。 │ ├── bootstrap.min.css.map │ ├── bootstrap-theme.css //主题文件 │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ └── bootstrap-theme.min.css.map ├── js/ │ ├── bootstrap.js // bootstrap完整版的脚本文件。 │ └── bootstrap.min.js// bootstrap压缩版的脚本文件。 └── fonts/ ├── glyphicons-halflings-regular.eot //字体 (字体图标) ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2

注:完整版用于源码学习,但因为文件大小问题,不适合网络间传递。

    压缩版用于网络发布,压缩版和完整版的唯一区别,仅为压缩版将代码间的大量空格和回车换行删除掉了,节约了大量的空间,功能上完全相同,适用于网络间快速传递。但因为没有了空格和换行,源代码难以阅读。

原文地址:https://www.cnblogs.com/alexzhang92/p/10078783.html