You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/02/19 19:08:25 UTC

[jira] [Created] (TAP5-2290) Support for assets from WebJars

Jochen Kemnade created TAP5-2290:
------------------------------------

             Summary: Support for assets from WebJars
                 Key: TAP5-2290
                 URL: https://issues.apache.org/jira/browse/TAP5-2290
             Project: Tapestry 5
          Issue Type: Bug
    Affects Versions: 5.4
            Reporter: Jochen Kemnade


from webjars.org: "WebJars are client-side web libraries (e.g. jQuery & Bootstrap) packaged into JAR (Java Archive) files."
They are available from Maven Central and you can include them as regular dependencies in your builds, as in {{dependencies.compile 'org.webjars:jquery:2.1.0-2'}}.
There should be custom asset prefix and a corresponding {{AssetFactory}} that can create assets from those WebJars ({e.g. {asset:webjars:jquery.js}}).
I have an implementation as a separate module that I could contribute.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)