Skip to content

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-components
sh
yarn add @sujithjr/exstasy-components
sh
pnpm add @sujithjr/exstasy-components
sh
bun add @sujithjr/exstasy-components

One 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>

Released under the MIT License.