@antify/ui-module v2.9.1
Ui module
Nuxt integration for @antify/ui package.
Installation
Install package
pnpm i @antify/ui-moduleAdd it to your nuxt.config.ts
defineNuxtConfig({
modules: [
'@antify/ui-module'
]
})Usage
Do not install the @antify/ui package or use imports directly from it.
This module expose all components, types and helper form ui package through #ui-module
virtual alias.
It also expose all components to vue globally. You have not to import them in your components.
<script lang="ts" setup>
import {InputState} from '#ui-module';
</script>
<template>
<AntButton :state="InputState.info" />
</template>Plugins
Composables
Development
- Run
pnpm run dev:prepareto generate type stubs. - Use
pnpm run devto start playground in development mode.
Additional
SSR
SSR is not included in the UX definition, because applications does not require SSR. To keep the UX as simple as possible, we decided to not support SSR.
Therefore, make sure you disabled ssr in your nuxt config.
defineNuxtConfig({
ssr: false
})10 months ago
6 months ago
5 months ago
11 months ago
5 months ago
8 months ago
7 months ago
11 months ago
9 months ago
6 months ago
9 months ago
6 months ago
8 months ago
6 months ago
9 months ago
5 months ago
8 months ago
9 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago