Skip to content

WebChemistry/asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Integration of symfony/asset for nette

Installation

composer require webchemistry/asset
extensions:
    asset: WebChemistry\Asset\DI\AssetExtension

Assets

asset:
	packages:
		# first is default
		default: @WebChemistry\Asset\Package\BasePathPackageFactory::create()

Usage in latte

{asset app.css}
{asset app.css, 'default'}
<img n:asset="app.jpg">

<link rel="stylesheet" n:asset="app.css">

<script n:asset="app.js"></script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages