1.9.2 • Published 8 months ago

@antify/ui-module v1.9.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Ui module

Nuxt integration for @antify/ui package.

Installation

Install package

pnpm i @antify/ui-module

Add 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:prepare to generate type stubs.
  • Use pnpm run dev to 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
})
1.9.2

8 months ago

1.9.1

9 months ago

1.9.0

9 months ago

1.8.2

11 months ago

1.7.3

11 months ago

1.7.2

11 months ago

1.8.0

11 months ago

1.7.1

11 months ago

1.8.5

11 months ago

1.8.4

11 months ago

1.8.3

11 months ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.2.1

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago