@autosync/atx-activix-ui

中文文档
0.4.40发布于 2025/06/10MITCommonJS近 30 天下载 1761

Library of UI component for Activix using Vue.js and Tailinwd CSS.

原始使用文档
文档目录6 节
  1. Getting Started
  2. Installation
  3. Contributing
  4. Development Setup
  5. Use Local version in CRM to test
  6. Deployment

Activix UI

Activix UI is a library of UI components for all Activix's products.

Getting Started

Usage documentation in progress...

  • Tailwind configuration
  • Component usage
  • Default CSS
  • Vue plugins (modal & notify)
  • Icons usage

Installation

  • Add the provided Tailwind preset in your tailwind.config.js:
    presets: [
        require('@autosync/atx-activix-ui/configs/tailwind-preset.js'),
    ],
    
  • Add the following to the content section of your tailwind.config.js:
    './node_modules/@autosync/atx-activix-ui/**/*.{vue,js}',
    

Contributing

Development Setup

After cloning the repo, run:

npm install

Commonly used NPM scripts

# Compiles and hot-reloads for development
npm run dev

Use Local version in CRM to test

# In Activix-UI terminal run
npm link

#After that go to in CRM open new terminal cd ../frontend
npm link "@autosync/atx-activix-ui"

#When you have finished to test
npm unlink "@autosync/atx-activix-ui"

Deployment

We use Github Packages as NPM's registry. To publish a new version, you must follow these steps:

  1. Follow the steps here to authenticate with Github Packages.
  2. Execute npm version patch to tag a new version for the package.
  3. Execute npm publish to publish the new version to Github Packages.

版本与发布记录

@autosync/atx-activix-ui 共发布 21 个版本,首次发布于 2023/10/07;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.4.40latest2025/06/101.4 年前
0.4.392025/04/251.5 年前
0.4.382025/03/051.7 年前
0.4.372025/01/281.8 年前
0.4.362025/01/281.8 年前
0.4.352024/12/191.9 年前

关于 @autosync/atx-activix-ui 的常见问题

@autosync/atx-activix-ui 是什么?

Library of UI component for Activix using Vue.js and Tailinwd CSS.

如何安装 @autosync/atx-activix-ui?

在项目目录运行 npm install @autosync/atx-activix-ui,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@tailwindcss/forms(^0.5.3)、vue(^2.7.14)、vue-svg-loader(^0.16.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@autosync/atx-activix-ui 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/autosync__atx-activix-ui 是否存在。

@autosync/atx-activix-ui 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@autosync/atx-activix-ui 可以商用吗?

@autosync/atx-activix-ui 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@autosync/atx-activix-ui 的下载量有多少?

根据 npm 官方下载统计,@autosync/atx-activix-ui 在 2026/10/07 – 2026/11/05 这 30 天内被下载 1,761 次,日均约 59 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@autosync/atx-activix-ui 还在维护吗?

最新版本 0.4.40 发布于 2025/06/10(1.4 年前);至今共发布 21 个版本,其中过去 12 个月发布了 0 个;首次发布于 2023/10/07。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。