Vue Loading Template

1.3.2 · abandoned · verified Sun Apr 19

Vue Loading Template (vue-loading-template) is a Vue.js 2 component library offering a collection of SVG-based loading indicators. It provides a straightforward API to embed various animated loaders, such as 'balls', 'bars', 'bubbles', and 'cylon', into Vue applications. The library is currently at version 1.3.2 and appears to be in an unmaintained or abandoned status, with its last npm publish over 7 years ago and GitHub activity ceasing around 2019. Its primary differentiator is the use of SVG for animations, which ensures scalability and high-quality rendering, and its simple integration as either a global Vue plugin or a local component. Due to its age, it is designed for Vue 2 applications and lacks direct compatibility with Vue 3's composition API or `createApp` paradigm.

Common errors

Warnings

Install

Imports

Quickstart

This example demonstrates how to import and use the `VueLoading` component directly within a Vue 2 component's template, applying different types, colors, and sizes.

<template>
  <div>
    <h2>Loading Example</h2>
    <p>Using the 'bars' type with custom color and size.</p>
    <vue-loading type="bars" color="#d9544e" :size="{ width: '50px', height: '50px' }"></vue-loading>
    <p>Another example with 'bubbles' type.</p>
    <vue-loading type="bubbles" color="#5ac1dd"></vue-loading>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { VueLoading } from 'vue-loading-template';

export default defineComponent({
  name: 'App',
  components: {
    VueLoading,
  },
});
</script>

view raw JSON →