承接 paella/twitter-bootstrap-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

paella/twitter-bootstrap-bundle

Composer 安装命令:

composer require paella/twitter-bootstrap-bundle

包简介

(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)

README 文档

README

This bundle provides the assets from the twitter bootstrap and the twig theme for forms using the twitter bootstrap.

Installation

Include this repository in your app/deps file:

[PaellaTwitterBootstrapBundle]
    git=http://github.com/Paella/TwitterBootstrapBundle.git
    target=/bundles/Paella/Bundle/TwitterBootstrapBundle

Register the Namespace in the app/autoload.php file :

$loader->registerNamespaces(array(
    'Paella'        => __DIR__.'/../vendor/bundles',
));

Register the bundle in app/AppKernel.php

    public function registerBundles() {
        $bundles = array(
            new Paella\TwitterBootstrapBundle\PaellaTwitterBootstrapBundle(),
        );

Usage

Publish the assets of your application :

php app/console assets:install

Add the assets in you template (available version 1.4.0, 2.0.0, 2.0.2) :

{% block stylesheets %}
<link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap.[min.]css') }}">
<link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap-responsive.[min.]css') }}">
{% endblock %}

{% block javascripts %}
<script src="{{ asset('bundles/paellatwitterbootstrap/js/jquery-1.7.min.js') }}"></script>
<script src="{{ asset('bundles/paellatwitterbootstrap/js/jquery-ui-1.8.16.custom.min.js') }}"></script>

<script src="{{ asset('bundles/paellatwitterbootstrap/js/[VERSION]/bootstrap[*].js') }}"></script>

<script src="{{ asset('bundles/wilogmaintenance/js/jquery.treeview.js') }}"></script>
<script src="{{ asset('bundles/paellatwitterbootstrap/js/jquery.tablesorter.min.js') }}"></script>
{% endblock %}

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固