vue-constants

1.0.3 • Public • Published

vue-constants

Adds a constants declaration-section to vue components

install via

npm install --save vue-constants

Use in your project via

import VueConstants from 'vue-constants'
Vue.use(VueConstants);

Then you can use it like

export default {
  constants: {
    field1: value1, 
    ...
  }
}

Readme

Keywords

Package Sidebar

Install

npm i vue-constants

Weekly Downloads

502

Version

1.0.3

License

MIT

Last publish

Collaborators

  • kay999