resource

fun <Error class: unknown class>.resource(remotePath: String, resource: String = remotePath, resourcePackage: String? = null)

Deprecated

Please use `staticResources` instead

Sets up routing to serve resource as remotePath in resourcePackage