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="url/file.pdf" lang="fr" ></formater-pdf-viewer>
  <script src="https://cdn.rawgit.com/epointal/formater-pdf-viewer-vjs/0.1.3/dist/formater-pdf-viewer-vjs_0.1.3.js"></script>