Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Compile and serve assets from public directory.
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test
.gitignore
.travis.yml
Gruntfile.coffee
LICENSE
README.md
package.json

README.md

symfio-contrib-assets

Compile and serve assets from public directory.

Build Status NPM version Dependency Status NPM version

Usage

symfio = require "symfio"

container = symfio "example", __dirname

container.inject require "symfio-contrib-express"
container.inject require "symfio-contrib-assets"

Dependencies

Configuration

publicDirectory

Directory with assets. Default value is public.

Services

serve

Assets serving helper. First argument is path to directory with assets.

servePublicDirectory

Function used to serve public directory.

Something went wrong with that request. Please try again.