vue-constants

adds constants declaration to vue components
14,924 10
vue
Install
npm install vue-constants
Latest Version:1.0.3
License:MIT
Last Updated:May 15, 2018
Links: GitHub  ·  npm
Maintainer: kay999

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, 
    ...
  }
}

Related Packages

vue

The progressive JavaScript framework for building modern web UI.

588,019,132 54,801
vue
@vueuse/shared
372,738,348 22,398
@vueuse/core

Collection of essential Vue Composition Utilities

367,188,523 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

333,357,380 686
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591

Version History

Version Released License
1.0.3 MIT
1.0.2 MIT
1.0.1 MIT
1.0.0 MIT