Use Swiper components in VUE

The first step: download and install swiper in the project root directory of the terminal:

cnpm/npm install vue-awesome-swiper –save;

Step 2: In the program entry file main. Reference in js:

import VueAwesomeSwiper from’vue-awesome-swiper’

import’swiper/dist/css/swiper.css’;

Step 3: In Swiper component used in main.js:

Vue.use(VueAwesomeSwiper)

Partial quote:

import’swiper/dist/css/swiper.css’

import {swiper, swiperSlide} from’vue-awesome-swiper’

Export two components:

components: {

  Swiper,

  SwiperSlide

}

components: {

  Swiper,

  SwiperSlide

}

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3995 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.