A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
图标字体 https://fontawesome.dashgame.com/
滚动加载动画插件 scrollreveal 1.npm install scrollreveal 安装 2.import scrollReveal from 'scrollreveal'; 引入到组件中 3.scrollReveal: scrollReveal() 在data中注册 4.直接使用
轮播插件 vue-slick-carousel
1.npm i vue-slick-carousel
2.import VueSlickCarousel from 'vue-slick-carousel'
import 'vue-slick-carousel/dist/vue-slick-carousel.css'
// optional style for arrows & dots
import 'vue-slick-carousel/dist/vue-slick-carousel-theme.css'
3.components: { VueSlickCarousel },
https://gs-shop.github.io/vue-slick-carousel/#/api