Skip to content

epointal/formater-pdf-viewer-vjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formater-pdf-viewer-vjs

This repository has been moved to Terresolide/formater-pdf-viewer
Also look at its wiki for use

Used work from FranckFreiburger

Build Setup

# install dependencies
npm install

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

# build for preproduction with minification
npm run pre

# 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.2",
  "main": "src/formater-pdf-viewer.vue",
  "preproduction": {
	  "url": "https://rawgit.com/epointal/"
  },
  "production": {
     "url": "https://cdn.rawgit.com/epointal/"
  },

Example


  <formater-pdf-viewer src="proxy.php?url=https%3A%2F%2Fgithub.com.%2Furl%2Ffile.pdf" lang="fr" ></formater-pdf-viewer>
  <script src="proxy.php?url=https%3A%2F%2Fcdn.rawgit.com%2Fepointal%2Fformater-pdf-viewer-vjs%2F0.1.3%2Fdist%2Fformater-pdf-viewer-vjs_0.1.3.js"></script> 

About

Webcomponent to embed pdf used vuejs

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors