A-A+
如何修改XiunoBBS 4.0 的风格
Xiuno BBS 4.0 前端基于 Bootstrap 4.0 + jQuery 3.1 , 所以通过标准化流程就可以构建自己的风格。
在开始之前,请安装好如下工具:
git:https://git-scm.com/downloads/ 开发者必备
nodejs:https://nodejs.org/ 前端构建工具需要
cnpm:http://npm.taobao.org/ 淘宝的(国内用户需要)
grunt:http://www.gruntjs.net/
grunt 的具体安装步骤可以参考:http://v4-alpha.getbootstrap.com/getting-started/build-tools/
1. git clone https://git.oschina.net/xiuno/xiunobbs.git
2. cd xiunobbs/view/bootstrap/
3. npm install (国内请使用 cpnm install)
4. 修改文件:_variables.scss,
5. grunt
6. 拷贝 dist/css/*.css ,覆盖到你站点的 view/css/
7. 完工
评论已关闭!