Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.21 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.21 KB

DISCONTINUE

Since now official repo is supported https://github.com/vueComponent/ant-design-vue-nuxt/tree/main

Nuxt 3 Boilerplate with Ant Design

Look at the nuxt 3 documentation to learn more.

Online Preview

https://nuxt3-ant-design.netlify.app/

Setup

Make sure to install the dependencies:

# pnpm
pnpm i

Development Server

Start the development server on http://localhost:3000

pnpm  dev

Known Issue

  • hot reload antd not working in folder pages so I move all UI to template folder
  • Auto import Antd design Icon must be with Prefix <IconAnt...
  • Antd Typescript issue TypeScript not working with LiteralUnion please change new LiteralUnion here
type Primitive = null | undefined | string | number | boolean | symbol | bigint;

export type LiteralUnion<LiteralType, BaseType extends Primitive> =
  | LiteralType
  | (BaseType & Record<never, never>);

Credit

Thanks to Vue open source community