Setup

Install ScrollView via NPM or script tag and get it setup your Vue app.

NPM (recommended)


npm install vue-scrollview
// or yarn
yarn add vue-scrollview

In your applications entry-point:

import Vue from 'vue'
import ScrollView from 'vue-scrollview'

Vue.use(ScrollView)

the <Scroll-view /> component will now be globally available throughout your app.

Script


...
<!-- after your Vue.js script -->
<script src="https://unpkg.com/[email protected]"></script>

The plugin will automatically install itself with this method, no further setup necessary.

results matching ""

    No results matching ""