npm install lasso-marko --save
Register the plugin when configuring the lasso. For example:
Required Marko templates will automatically be found via static code analysis as long as they are loaded using
require.resolve(path) and rendered using code similar to the following (inside a CommonJS module):
// Template must be loaded using require.resolve!var template = ;template;
To explicitly declare templates that may not be discovered via static code analysis of CommonJS modules, you can also choose to declare a Marko template dependency in an
NOTE: No configuration is supported by this module.
Pull Requests welcome. Please submit Github issues for any feature enhancements, bugs or documentation problems.
Apache License v2.0