@antadmin/utils

Helper TypeScript thuần (không phụ thuộc Nuxt) cho framework AntAdmin
981
Install
npm install @antadmin/utils
Latest Version:2.0.0
License:MIT
Last Updated:Sep 14, 2026
Links: GitHub  ·  npm
Maintainer: daothanh

@antadmin/utils

Helper TypeScript thuần (zero runtime dep, không phụ thuộc Nuxt/Vue).

API

  • AppError — lớp lỗi chuẩn hoá (status, code, data).
  • toAppError(input) — quy mọi lỗi (ofetch response, Error, string) về AppError.
  • isAppError(input) — type guard.
  • Types: Nullable<T>, Maybe<T>, Paginated<T>.

Related Packages

@antadmin/nuxt-layer-base

Nuxt layer nền của framework AntAdmin — entry point duy nhất team sản phẩm cần e...

970 0
@antadmin/cli

create-antadmin-app — scaffold project Nuxt mới theo chuẩn framework AntAdmin

571 0

Version History

Version Released License
2.0.0 MIT
1.3.1 MIT
1.3.0 MIT