Skip to content

terresolide/formater-pdf-viewer-vjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>