Appearance
Installation 🎷 ​
Exstasy UI components only have support for Vue 3.
Run any of the following commands to install the package. This has complete Typescript type support for all the components.
sh
npm install @sujithjr/exstasy-componentssh
yarn add @sujithjr/exstasy-componentssh
pnpm add @sujithjr/exstasy-componentssh
bun add @sujithjr/exstasy-componentsOne way to use is to register all the components globally in your main.ts/main.js file.
ts
import { createApp } from 'vue'
import App from './App.vue'
import ExstasyComponents from '@sujithjr/exstasy-components'
const app = createApp(App)
app.use(ExstasyComponents)
app.mount('#app')Or import them manually in your component,
vue
<script lang="ts" setup>
import { ExCard } from '@sujithjr/exstasy-components'
</script>
<template>
<ExCard>
This is a card component
</ExCard>
</template>