vue-constants

adds constants declaration to vue components

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-constants
1001.0.36 years ago6 years agoMinified + gzip package size for vue-constants in KB

Readme

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