@uportal/content-renderer

1.40.2 • Public • Published

Content Renderer(s)

NPM Version Maven Central Build Status

Demo

https://uportal-project.github.io/uPortal-web-components/en/components/content-renderer/demo

Installation

# install with npm
npm install @uportal/content-renderer

# install with yarn
yarn add @uportal/content-renderer

install with maven

<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>uportal__content-renderer</artifactId>
    <version>{version number goes here}</version>
</dependency>

install with gradle

compile 'org.webjars.npm:uportal__content-renderer:{version number goes here}'

Usage

<!-- this uses the unpkg cdn, this could alternatively use resource server as a cdn -->
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/@uportal/content-renderer"></script>

Portlet renderer

<content-portlet-renderer
  portlet-html-url="{portlet-url}"
></content-portlet-renderer>

uPortal home style 'widget' renderer

<content-widget-renderer
  template="{widgetTemplate string}"
  config="{widgetConfig object}"
  type="{widgetType string}"
  url="{widgetUrl string}"
></content-widget-renderer>

Options

  • debug (optional, boolean, default: false): when enabled debug mode skips oauth authentication.

Readme

Keywords

none

Package Sidebar

Install

npm i @uportal/content-renderer

Weekly Downloads

2

Version

1.40.2

License

none

Unpacked Size

2.4 MB

Total Files

19

Last publish

Collaborators

  • loulou2u
  • rmathis1138
  • vertein
  • sibley
  • doug.reed
  • apetro
  • zeke.witter
  • christianmurphy
  • drewwills
  • bjagg
  • cbeach47
  • jgribonvald
  • nogalpaulina