I can create a constant through a store in my vuejs application, but i don\'t think it is a good practice.what is other way to do the same?
The most small big solution
//helper.js export const Test = { KEY1: 1, KEY2: 2, KEY3: 3, KEY4: 4 }
testing the code..
//page.vue import {Test} from "./helper"; {{testing.KEY2}} export default { data: function(){ return { testing: Test } } }