Skip to content

Instantly share code, notes, and snippets.

@tankxxl
tankxxl / ToturialforGist2.txt
Created April 2, 2015 10:57
Tutorial for Gist
another file for gist tutorial.
@tankxxl
tankxxl / SwiperDemo.vue
Last active December 5, 2016 06:38
Swiper一行多列时,点击任何一个slide返回的activeIndex都是0
<template>
<div>
<swiper :options="moduleSwiperOption" class="moduleSwiper">
<swiper-slide v-for="(slide, $index) in modules">
<div class="slide">{{ slide.title }}</div>
</swiper-slide>
</swiper>
</div>
</template>
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails"