4.5.0 • Published 2 years ago

vue-cli-plugin-yddviz v4.5.0

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

vue-cli-plugin-yddviz

This is a vue-cli 5.x.x plugin that prepares your app for deployment to Yle Drupal Distro.

What is does:

  • Wraps the Vue render function inside an onMount function providing the yleVisualisation object
  • Automatically gives the app container unique name to prevent clashes when embedding several datavizes in the same article
  • Localizes index.html to Swedish
  • Adds scripts and dependencies required to deploy the app to AWS
  • Configures devServer host and publicPath
  • Adds options yleDataviz.externalContent and yleDataviz.darkMode to package.json. Set these to true if your dataviz supports rendering in the app and/or dark mode

Add it to your project:

vue 3.x
$ vue add yddviz

For vue 2.x, use
$ vue add yddviz@3
4.5.0

2 years ago

4.4.0

2 years ago

4.3.4

2 years ago

4.3.3

2 years ago

4.3.2

3 years ago

4.3.1

3 years ago

4.3.0

3 years ago

4.2.0

3 years ago

4.1.0

3 years ago

4.0.0

3 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.2

4 years ago

1.0.1

6 years ago

1.0.0

6 years ago