# roshan

> Tool library to structure Vue project

Latest version **0.1.1** (published 2021-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install roshan
pnpm add roshan
yarn add roshan
bun add roshan
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2021-09-09 |
| First published | 2021-07-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | gxmari007 |

## Links

- npm: https://www.npmjs.com/package/roshan
- npm.io page: https://npm.io/package/roshan

## Dependencies (1)

- [vue-router](https://npm.io/package/vue-router.md) ^4.0.11

## Recent versions

- 0.1.1 (latest) — 2021-09-09
- 0.1.0 — 2021-09-09
- 0.0.9 — 2021-09-09
- 0.0.8 — 2021-09-09
- 0.0.7 — 2021-07-22
- 0.0.5 — 2021-07-20
- 0.0.4 — 2021-07-20
- 0.0.3 — 2021-07-20
- 0.0.2 — 2021-07-20
- 0.0.1 — 2021-07-19

## README

# Roshan

![npm](https://img.shields.io/npm/v/roshan)

让 Vue 支持领域驱动设计（Domain-driven design）的插件

## 功能

- 🖖基于 Vue3 开发
- 👊支持类型，使用 Typescript 编写

## 安装

```bash
npm install roshan
# or
yarn add roshan
```

## 使用

首先创建 module.js

```js
import { createRoshan } from 'roshan';

import { AppModule } from './modules/app/module';

export const { roshan } = createRoshan(AppModule);
```

然后在 main.js 使用

```js
import { createApp } from 'vue';
import { createRoshan } from 'roshan';

import App from './app.vue';
import { roshan } from './module';

const app = createApp(App);

app.use(roshan);

app.mount('#app');
```

## 授权

MIT

---
_Source: https://npm.io/package/roshan · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
