Vevet
Introduction
Vevet is a flexible client-side JavaScript library for creative web development.
It includes:
-
Core
Handles viewport events, page load states, and provides essential info about the viewport and user agent. -
Base
Core utilities like Callbacks, Module, and Responsive. Skip this if you only need ready-to-use components. -
Components
A collection of abstract and functional modules such as loaders, scroll tools, split text, carousels, and more. -
Utils
Lightweight internal utilities.
Installation
Using NPM
npm install vevet
JavaScript:
import { vevet } from 'vevet';
console.log(vevet.version); // => 5.0.0
SCSS:
@import '~vevet/lib/styles/index';
Using CDN
<script src="
https://cdn.jsdelivr.net/npm/vevet@5/lib/cdn/vevet.iife.min.js
"></script>
<script>
console.log(Vevet.app.version); // => 5.0.0
console.log(Vevet.SplitText); // => access components
</script>