koco-url-utilities
URL utilities to be used with a KOCO project.
Installation
bower install koco-url-utilities
Usage with KOCO
This is a shared module that is used in many other module. The convention is to configure an alias in the require.configs.js
with the name url-utilities
like so:
paths: ... 'url-utilities': 'bower_components/koco-url-utilities/src/url-utilities' ...
The configuration file
This module uses the configs
object and will be using a property named baseUrl
.
baseUrl: '/base-url-for-my-app/' // Note the leading and trailing slashes.