simple-nav-scroll
v0.0.2
Published
A Vue.js project for scroll nav
Downloads
6
Readme
nav-scroll
A Vue.js project for nav-scroll
Installing
Using npm:
$npm install simple-nav-scroll
Example
main.js
import Vue from 'vue'
import nav from 'simple-nav-scroll'
Vue.use(nav)
component
<template>
<nav-scroll :dataLists="dataLists"></nav-scroll>
</template>
<script>
export default {
data () {
return {
dataLists: ['标签1','标签2','标签3','标签4','标签5','标签6']
}
}
}
</script>