https://github.com/vue-multiple/back-top
基于 Vue2.x 的回到顶部组件。Vue-based back-top component
https://github.com/vue-multiple/back-top
back-top backtop vue vue-backtop
Last synced: 11 months ago
JSON representation
基于 Vue2.x 的回到顶部组件。Vue-based back-top component
- Host: GitHub
- URL: https://github.com/vue-multiple/back-top
- Owner: vue-multiple
- License: mit
- Created: 2017-07-21T02:28:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T08:12:13.000Z (almost 9 years ago)
- Last Synced: 2024-10-30T03:37:41.229Z (over 1 year ago)
- Topics: back-top, backtop, vue, vue-backtop
- Language: Vue
- Homepage: http://vue-multiple.github.io/back-top
- Size: 917 KB
- Stars: 27
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# back-top
> Vue-based back-top component
## Install
```bash
npm install vue-multiple-back-top -S
```
## Quick Start
```bash
import Vue from 'vue'
import VmBackTop from 'vue-multiple-back-top'
Vue.component(VmBackTop.name, VmBackTop)
```
For more information, please refer to [back-top](http://vue-multiple.github.io/back-top) in our documentation.
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run demo:dev
# build for demo with minification
npm run demo:build
# build for gh-pages with minification
npm run demo:prepublish
# build for production with minification
npm run build
```
## LICENSE
[MIT](http://opensource.org/licenses/MIT)