@eosway/one

Aggregate entry for eosway one packages.
721 1
Install
npm install @eosway/one
Latest Version:0.4.0
Vue:3
License:Apache-2.0
Last Updated:Jun 23, 2026
Links: GitHub  ·  npm
Maintainer: yangxu52

@eosway/one

Aggregate entry for eosway one packages.

@eosway/one 用于统一承载 @eosway/one-* 系列包的聚合入口。

当前命名空间映射:

  • @eosway/one/chat -> @eosway/one-chat
  • @eosway/one/chart -> @eosway/one-chart
  • @eosway/one/chart/plugins -> @eosway/one-chart/plugins

安装

pnpm add vue echarts @eosway/one

如果需要 one-chart 的可选扩展,再单独安装对应依赖:

pnpm add echarts-gl
pnpm add echarts-stat

用法

根入口仅导出核心组件与 hook,不导出 plugins:

import { OneChart, useOneChart, useOneChartRuntime, useChatStream } from '@eosway/one'

通过命名空间子路径访问具体组件包:

import { createOpenAICompatibleChatStream, useChatStream } from '@eosway/one/chat'
import OneChart, { useOneChart, useOneChartRuntime } from '@eosway/one/chart'

插件子路径同样使用命名空间:

import { glPlugin, statPlugin } from '@eosway/one/chart/plugins'

根入口说明

@eosway/one 仅导出核心组件与 hook:

  • useChatStream
  • OneChart
  • useOneChart
  • useOneChartRuntime

plugins 及其他非核心能力不从根入口透出,必须使用子路径单独导入。

Related Packages

@vt7/vue2-composables

Vue2 composables

523 1
@shopware/composables

Shopware Frontends composables for Vue

141,216 230
@tb-dev/vue

Vue utilities

12,617
@alis-build/vue-ideate

Vue 3 composables and components to help integrate Alis Ideate into your product...

2,053 0
@oiij/auto-router

Vue Router utilities and composables for Vue 3

1,394 1

Version History

Version Released Vue License
0.4.0 >=3.3.0 Apache-2.0
0.3.0 >=3.3.0 Apache-2.0
0.2.0 >=3.3.0 Apache-2.0
0.1.0 >=3.3.0 Apache-2.0