1.1.9 • Published 5 years ago

vuejs-panorama v1.1.9

Weekly downloads
34
License
MIT
Repository
github
Last release
5 years ago

VueJS Panorama Viewer

Embed panorama into your website (lightweight~4.56 kB) VueJS version of JQuery Panorama Viewer

Demo

Demo

Getting started

using npm

npm install vuejs-panorama --save

Or using script tag for global use

<script src="https://unpkg.com/vuejs-panorama@latest/dist/Panorama.js"></script>

Or Download Panorama.js and include it in your html

Installing & Running Locally

Clone the repository using git:

git clone https://github.com/mudin/vue-panorama.git 

Installing all dependencies:

npm install 

Build

npm run build 

Run locally:

npm run example 

This will start development server on localhost:4000

Usage

Panorama by equirectangular image

<template>
    <Panorama source="pano.jpg" caption="Awesome Panorama"/>
</template>
<script>
    import { Panorama } from 'vuejs-panorama'

    export default {
        components: { Panorama }
    }
</script>

Or

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<body>
    <div id="app">
        <Panorama source="pano.jpg" caption="Awesome Panorama"/>
    </div>
    <script src="vue.js"></script>
    <script src="vuejs-panorama.js"></script>
    <script>
        new Vue({
            el: '#app'
        })
    </script>
</body>

TODO List

  • Auto Rotate

Contributing

If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.

LICENSE

MIT

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago