Stores built routes under resource path, uses basePath as mountPath.