0.0.5 • Published 3 years ago

@sirusdev/prescription-editor-nuxt-vuetify v0.0.5

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

@sirusdev/prescription-editor-nuxt-vuetify

prescription editor input component for nuxt frameworks + vuetify

Quick Start

this module can only be used on typescript environment, check nuxt typescript module documentation to setup one.

After all in placed, follow these simple steps

  1. install this modules using npm CLI

    npm i @sirusdev/prescription-editor-nuxt-vuetify
  2. register this modules on consumer configuration nuxt.config.ts

    buildModules: [
      ...
      '@sirusdev/prescription-editor-nuxt-vuetify'
    ]
    ...

1) add typings on tsconfig.json to enable intellisense features

"types": [
  ...
  "@sirusdev/prescription-editor-nuxt-vuetify"
]

1) prescription editor input will available globally, and can be used on any components or pages

```html
<sirus-prescription-editor
  v-model="prescription"
  :disabled="disabled"
  :external-labels="externalLabels"
  class="flex-grow-1"
/>
```

controller

```typescript
@Component
export default class IndexPage extends Vue {
  prescription = ''; // prescription in string
  disabled = false; // disable status
  externalLabels = []; // labels to be added at the beginning of prescription
}
```
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago

0.0.2

3 years ago

1.0.0

3 years ago