kyoushu/asset-installer-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

A bundle for copying vendor assets (e.g. images, webfonts) into the web directory

0.0.1 2014-06-19 10:39 UTC

This package is auto-updated.

Last update: 2023-01-15 19:29:04 UTC


README

A bundle for copying vendor assets (e.g. images, webfonts) into the web directory.

The master branch is currently a development build, and should not be used for live projects.

Installation

AppKernel.php

// ...
new Kyoushu\AssetInstallerBundle\KyoushuAssetInstallerBundle(),
// ...

config.yml

# ...

kyoushu_asset_installer:
    assets:
        jquery:
            input: "%kernel.root_dir%/../vendor/component/jquery/jquery.min.js"
            output: "%kernel.root_dir%/../web/js/jquery.min.js"
        font_awesome:
            input: "%kernel.root_dir%/../vendor/fortawesome/font-awesome/fonts"
            output: "%kernel.root_dir%/../web/fonts"
        open_sans:
            input: "%kernel.root_dir%/../vendor/fontfacekit/open-sans/fonts"
            output: "%kernel.root_dir%/../web/fonts"

# ...

Installing Vendor Assets

app/console kyoushu:install-assets