💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] > [demo](https://alvarotrigo.com/vue-fullpage/#page3) ## 安装 ``` npm i vue-fullpage ``` ### demo ``` import Vue from 'vue' import VueFullPage from 'vue-fullpage' Vue.use(VueFullPage); new Vue({ el: '#app', render: h => h(App) }); ``` ``` <template> <div> <full-page> <div class="section"> <button @click="$refs.fullpage.api.moveSectionDown()"> Next </button> Section 1 </div> <div class="section"> <button @click="$refs.fullpage.api.moveSectionUp()"> Prev </button> Section 2 </div> </full-page> </div> </template> ```