0.4.16 • Published 11 months ago

@zazuko/trifid-renderer-entity v0.4.16

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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

11 months ago

0.4.15

1 year ago

0.4.14

1 year ago

0.4.13

1 year ago

0.4.12

1 year ago

0.4.11

1 year ago

0.4.10

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.9

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.4

2 years ago

0.0.3

2 years ago