Skip to content

amplience/dc-visualization-get-started

Repository files navigation

dc-visualization-get-started

To use this visualization app it first needs to be added to a content type inside DC.

Url Params

Capabilities

The capabilities of this app depend on the URL parameters supplied.

  • content - The Content Item ID {{content.sys.id}}. Required.
  • vse - Your virtual staging environment {{vse.domain}}. Optional, depending on live value
  • hub - Your hub name {{hub.name}}. Optional, depending on live value
  • locale - The locale to use {{locales}}. This is not needed when using a realtime connection and exluding this will prevent unnecessary reloading.
  • live - When set to true ampliance cdn with provided hub will be used for getting content, otherwise vse will be used

Example URL to use:

https://get-started.visualizations.content.amplience.net?content={{content.sys.id}}&vse={{vse.domain}}

Running locally

Install the dependencies...

npm install
npm run dev

Navigate to localhost:3000. You should see your app running.

Building and running in production mode

To create an optimised version of the app:

npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7