-1👍
Can you do something like in a const.js
file:
export const ConstName = {
//Code in here
}
Then you can import this in any component at the top:
import ConstName form '/path/to/const.js
- [Vuejs]-Bootstrap Tab with VueJS 1.0.28 not working properly while working with Vue 1.0.18
- [Vuejs]-Can't load CSS into Vue cli project. Mimetype is always html
Source:stackexchange.com