2017 © Pedro Peláez
 

library foundation-bundle

Quickly add bootstrap, jquery and more from CDNs

image

noccylabs/foundation-bundle

Quickly add bootstrap, jquery and more from CDNs

  • Tuesday, May 17, 2016
  • by noccy80
  • Repository
  • 1 Watchers
  • 0 Stars
  • 123 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Re NoccyLabs Foundation Bundle

Building websites around modern JavaScript and responsive CSS libraries can be a bit of a pain. Let us introduce the FoundationBundle that makes building a useful foundation easy as pie., (*1)

Configuration

No configuration needed at this time., (*2)

CDNs

CDNs can be updated from the console, using the foundation:update action:, (*3)

$ app/console foundation:update

CdnJs and BootstrapCdn are included., (*4)

Using

To use foundation, use the foundation() Twig tag in the head of your document:, (*5)

<html>
<head>
    <title>My Website</title>
    ...
    {{ foundation('jquery,twitter-bootstrap') }}
</head>
...

You can also specifiy components as an array if you prefer:, (*6)

{{ foundation([ "jquery", "twitter-bootstrap" ]) }}

Finding components

Use the foundation:search command to find components:, (*7)

$ app/console foundation:search jquery
...

To find the URL of a component, for testing:, (*8)

$ app/console foundation:component jquery
...

Static template

not implemented, (*9)

To dump a static template with the required links and script tags, use the foundation:dump command., (*10)

$ app/console foundation:dump > app/Resources/views/foundation.html.twig

Finding usable components

$ app/console foundation:search bootswatch
 - bootswatch (Cdnjs)
 - bootswatch-amelia (BootstrapCdn)
 - bootswatch-cerulean (BootstrapCdn)
 - bootswatch-cosmo (BootstrapCdn)
 ...

In this case, you should be able to add bootswatch-cerulean to your foundation call to make your site use the cerulean bootswatch theme for bootstrap:, (*11)

    {{ foundation([
        'jquery', 
        'twitter-bootstrap', 
        'twitter-bootstrap-css',
        'bootswatch-cerulean'
    ]) }}

The Versions

17/05 2016

dev-master

9999999-dev

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

jquery bootstrap cdn bootswatch

17/05 2016

0.1.2.1

0.1.2.1

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

jquery bootstrap cdn bootswatch

17/03 2015

0.1.2

0.1.2.0

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

jquery bootstrap cdn bootswatch

23/12 2014

0.1.1.4

0.1.1.4

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

jquery bootstrap cdn bootswatch

22/12 2014

0.1.1.3

0.1.1.3

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

jquery bootstrap cdn bootswatch

04/11 2014

0.1.1.2

0.1.1.2

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

31/07 2014

0.1.1.1

0.1.1.1

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

16/07 2014

0.1.1

0.1.1.0

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

14/07 2014

0.1.0.1

0.1.0.1

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft

13/07 2014

0.1.0

0.1.0.0

Quickly add bootstrap, jquery and more from CDNs

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Christopher Vagnetoft