Get the full path to a file in a WebJar without validating that the file actually exists
Get the full path to a file in a WebJar without validating that the file actually exists
the WebJar artifactId
the full path to a file in the WebJar
the path to the file (sans-the webjars prefix)
Calling fullPath("react", "react.js") will return the full path to the file in the WebJar because react.js exists at the root of the WebJar
Locate a file in a WebJar
Locate a file in a WebJar
the WebJar artifactId
the file or partial path to find
the path to the file (sans-the webjars prefix)
Locate a file in a WebJar
Locate a file in a WebJar
the file or partial path to find
the path to the file (sans-the webjars prefix)
Passing in jquery.min.js will return jquery/1.8.2/jquery.min.js assuming the jquery WebJar version 1.8.2 is on the classpath
Generates the RequireJS config and main script tags
Generates the RequireJS config and main script tags
The reverse route of the main app
The RequireJS config and main script tags
Locates a WebJar from a partial path and returns the reverse route
Locates a WebJar from a partial path and returns the reverse route
The artifact name of the WebJar
The partial path of a file in a WebJar
The reverse route to the WebJar asset
Locates a WebJar from a partial path and returns the reverse route
Locates a WebJar from a partial path and returns the reverse route
The partial path of a file in a WebJar
The reverse route to the WebJar asset
Resolves WebJar paths
org.webjars.play.webJarFilterExpr can be used to declare a regex for the files that should be looked for when searching within WebJars. By default all files are searched for.