marko-sample-custom-tags

3.0.0 • Public • Published

Sample App: Marko Sample Custom Tags

This sample app illustrates how to create a set of custom tags that can be shared across multiple projects. This project includes a marko-taglib.json file in the root of the project that is used to export custom tags.

Installation

Install this package into the project that wants to utilize these sample custom tags:

npm install marko-sample-custom-tags --save

After this package has been installed, the custom tags exported by this package can then be used within Marko templates found in the parent project:

<sample-custom-tags-say-hello name="Jane"/>
<sample-custom-tags-foo/>

NOTE: The names of the custom tags can be whatever you want. However, it is recommended to prefix the custom tag name with the name of the package that it came from to avoid confusion (hence the long names for these custom tags).

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    2
  • 2.0.0
    0

Package Sidebar

Install

npm i marko-sample-custom-tags

Weekly Downloads

2

Version

3.0.0

License

MIT

Last publish

Collaborators

  • austinkelleher
  • dylanpiercey
  • mlrawlings
  • pnidem