Crystal-Creations-GbR / pulsating-circle

A pulsating circle wrapped in a Vue component based on a codepen by eereeska.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@crystal-creations/pulsating-circle

GitHub release (latest SemVer) GitHub Build and publish npm package npm npm

A pulsating circle wrapped in a Vue component based on a codepen by eereeska.

Usage in nuxt 3

  1. Install with

    npm install @crystal-creations/pulsating-circle

  2. Add the following to your nuxt.config.ts.

    export default defineNuxtConfig({
      app: {
        // ...
        modules: [
          // ...
          "@crystal-creations/pulsating-circle/nuxt",
        ],
      },
    });
  3. Add the component to your Vue component.

    <template>
      <PulsatingCircle></PulsatingCircle>
    </template>

Usage in vue 3

  1. Install with

    npm install @crystal-creations/pulsating-circle

  2. Add the following to your Vue main.ts.

    import { PulsatingCircle } from "@crystal-creations/pulsating-circle";
    import "@crystal-creations/pulsating-circle/styles";
    
    // ...
    
    const app = createApp(App)
    
    app.component("PulsatingCircle", PulsatingCircle);
  3. Add the component to your Vue component.

    <template>
      <PulsatingCircle></PulsatingCircle>
    </template>

About

A pulsating circle wrapped in a Vue component based on a codepen by eereeska.

License:MIT License


Languages

Language:TypeScript 40.3%Language:Vue 30.0%Language:JavaScript 29.7%