eolant/silverstripe-bootstrap-mix 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eolant/silverstripe-bootstrap-mix

Composer 安装命令:

composer require eolant/silverstripe-bootstrap-mix

包简介

The SilverStripe theme that uses Bootstrap 4 with Laravel Mix

README 文档

README

This is a boilerplate base theme for SilverStripe 4 that you can use for all your custom Boostrap 4 themes. It uses Laravel Mix for assets compilation and Browsersync for quick and easy development allowing you to focus on the task at hand, not worrying about front end tools. You can also easily replace Bootstrap for anything else. As well as use SASS, LESS, Stylus. Refer this page for more details about Laravel Mix.

Installation

composer require eolant/silverstripe-bootstrap-mix
  • Select theme in _config/theme.yml
  • Run npm install from theme directory

Usage

  • Choose your proxy address for Browsersync in webpack.mix.js
  • npm run watch for development
  • npm run prod for production build
Please refer package.json for all commands.

Renaming theme

If you want to rename the theme, make sure to create links to javascript, css, images directories You can execute following commands from theme's directory (replace silverstripe-bootstrap-mix with the new name):

rm -rf $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
mkdir $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/javascript $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/css $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix
ln -s $(pwd)/images $(pwd)/../../public/resources/themes/silverstripe-bootstrap-mix

统计信息

  • 总下载量: 205
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 3
  • 开发语言: Scheme

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-04-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固