Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zuoez02/vue-inversifyjs-sample

implement field dependency injection in Vue class component
https://github.com/zuoez02/vue-inversifyjs-sample

Last synced: about 1 month ago
JSON representation

implement field dependency injection in Vue class component

Awesome Lists containing this project

README

        

# vue-inversifyjs-sample

To test if we can use dependency injection in Vue class component, I made this project.

The project is created by Vue CLI 3, and install `reflect-metadata` and `inversify`.

Set ` "emitDecoratorMetadata": true` in tsconfig.json.

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn run serve
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).