README
@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
install this modules using
npmCLInpm i @sirusdev/prescription-editor-nuxt-vuetifyregister this modules on consumer configuration
nuxt.config.tsbuildModules: [ ... '@sirusdev/prescription-editor-nuxt-vuetify' ] ...
add typings on
tsconfig.jsonto enable intellisense features"types": [ ... "@sirusdev/prescription-editor-nuxt-vuetify" ]prescription editor input will available globally, and can be used on any components or pages
<sirus-prescription-editor v-model="prescription" :disabled="disabled" :external-labels="externalLabels" class="flex-grow-1" />controller
@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 }