Skip to content

mrijken/pyramid_bowerstatic

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pyramid_bowerstatic: BowerStatic integration for Pyramid

pyramid_bowerstatic integrates BowerStatic into Pyramid.

When you create a pyramid app, make sure to include pyramid_bowerstatic:

config.include('pyramid_bowerstatic')

Resources can be added to the bowerstatic repository by:

components = pyramid_bowerstatic.create_components('myapp', os.path.join(os.path.dirname(__file__), 'bower_components'))

And resources can be used in views by:

request.include(components, 'jquery')

Resource can also be inserted in the view/template directly by using:

request.get_bowerstatic_path('myapp', 'jquery', 'jquery.js')

About

Integration of Bowerstatic in Pyramid

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages