0.4.16 • Published 2 years ago

@zazuko/trifid-renderer-entity v0.4.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Trifid plugin to render entities

Quick start

Install this Trifid plugin using:

npm install @zazuko/trifid-renderer-entity

And then add in the config.yaml file the following part:

middlewares:
  # […]
  entity-renderer:
    module: "@zazuko/trifid-renderer-entity"
    config:
      # ignore some specific paths
      ignorePaths:
        - /query

Define your own css/template

Specify the path where the handlebars template is located

middlewares:
  # […]
  entity-renderer:
    module: "@zazuko/trifid-renderer-entity"
    config:
      path: file:./some-path/your-template.hbs

Rendering options

Under the hood, this plugin uses rdf-entity-webcomponent, that accepts the same configuration options.

Add any of these options under the config section

middlewares:
  # […]
  entity-renderer:
    module: "@zazuko/trifid-renderer-entity"
    config:
      compactMode: false
      technicalCues: true
      embedNamedNodes: false

Run an example instance

npm run example-instance
0.4.16

2 years ago

0.4.15

2 years ago

0.4.14

2 years ago

0.4.13

2 years ago

0.4.12

2 years ago

0.4.11

2 years ago

0.4.10

2 years ago

0.4.9

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.14

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago