bgl-tron
v0.0.5
Published
Bagel tron
Downloads
5
Readme
bgl-tron
Features:
Usage
Use component globally
// src/main.ts
import { createApp } from 'vue';
import BglTron from 'bgl-tron';
import App from './App.vue';
const app = createApp(App);
app.use(BglTron);
app.mount('#app');
Import component
<script setup lang="ts">
import { Tron } from 'bgl-tron';
</script>
<template>
<Tron />
</template>
Contributing
# install dependencies with pnpm recursively
pnpm i -r -f
# start the dev app with hot reload, great for testing components
pnpm run dev:app
# build the library, available under dist
pnpm run build
# build the dev app, available under dev/dist
pnpm run dev:build
# preview the dev app locally from dev/dist
pnpm run dev:preview
License
MIT