Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.96 KB

File metadata and controls

50 lines (35 loc) · 1.96 KB

AMLL for Vue

English / 简体中文

Warning: This is a personal project and is still under development. There may still be many issues, so please do not use it directly in production environments!

AMLL-Vue npm npm

Vue binding for the AMLL component library, which allows you to use AMLL lyric components more conveniently.

For more details, please visit Core component README.md.

Installation

Install the required dependencies (if the dependencies listed below are not installed, you need to install them yourself):

npm install @pixi/app @pixi/core @pixi/display @pixi/filter-blur @pixi/filter-bulge-pinch @pixi/filter-color-matrix @pixi/sprite jss jss-preset-default # using npm
yarn add @pixi/app @pixi/core @pixi/display @pixi/filter-blur @pixi/filter-bulge-pinch @pixi/filter-color-matrix @pixi/sprite jss jss-preset-default # using yarn

Install the dependencies required for Vue binding (if the dependencies listed below are not installed, you need to install them yourself):

npm install vue # using npm
yarn add vue # using yarn

Install the framework:

npm install @applemusic-like-lyrics/vue # using npm
yarn add @applemusic-like-lyrics/vue # using yarn

Usage Summary

For detailed API documentation, please refer to AMLL Docs.

A test program can be found in ../playground/vue/src/test.ts.

<tamplate>
    <LyricPlayer :lyric-lines="[]" :current-time="0" />
</tamplate>

<script setup lang="ts">
import { LyricPlayer } from "@applemusic-like-lyrics/vue";

</script>