Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 973 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 973 Bytes

formater-pdf-viewer-vjs

Used work from FranckFreiburger

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

Configuration

Use your own repository by editing package.json in particular name, version, main, preproduction.url and production.url used to build js files:

  "name": "formater-pdf-viewer-vjs",
  "version": "0.1.7",
  "main": "src/formater-pdf-viewer.vue",
  "production": {
     "url": "https://api.poleterresolide.fr/webcomponents/"
  },

Example


  <formater-pdf-viewer src="url/file.pdf" lang="fr" ></formater-pdf-viewer>
  <script src="https://api.poleterresolide.fr/webcomponents/formater-pdf-viewer-vjs_0.1.7.js"></script>