0.1.0 • Published 2 years ago

vue-snakke v0.1.0

Weekly downloads
59
License
MIT
Repository
github
Last release
2 years ago

Vue Snakke

Vue Snakke allows you to add a reading progress bar to your Vue 3 project.

Vue Snakke example

Install

npm install vue-snakke

Usage

Add the following import to your setup function:

import { useSnakke } from 'vue-snakke';

const { progress } = useSnakke();

progress is a Ref value (from 0 to 1) that will automatically update whenever the page is scrolled. You can use it to indicate page progress.

Development

Starting the project for development:

npm start

Commands

Run through npm run [command]:

  • prettier: runs Prettier on write mode (overwrites files)
  • prettier:check: runs Prettier on check mode (useful in CI)
  • build: builds the example page (used for deployment)
  • build:lib: builds the library (used for releases)

This project is heavily inspired by React Snakke from diogomoretti.

0.1.0

2 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.0

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago