/my-component

组件

Primary LanguageJavaScript

vue-dotLoading-template

Demo:


Options

Prop Type Required Default 描述
size String false 20px 圆点的直径
color String false coral 圆点颜色
numbers Number false 14 圆点个数
radius Number false 50 loading的半径

Example

<template>
  <div id="app">
    <load size="14px" :radius= '100' > </load>
  </div>
</template>
<script>
import load from '@/components/dotLoading'
export default {
  name: 'App',
  components: {load},
  methods: {
  },
  mounted () {
  }
}
</script>

A Vue.js project


Build Setup

# 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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.