0.1.1 • Published 3 years ago

roshan v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Roshan

npm

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

功能

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

安装

npm install roshan
# or
yarn add roshan

使用

首先创建 module.js

import { createRoshan } from 'roshan';

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

export const { roshan } = createRoshan(AppModule);

然后在 main.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

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago