I have this line of code which is outside of script tag <i18n locale="en" src="../../local/en/index/first.json"></i18n>
This one uses static source, is there a way for me to import a file by setting the src dynamically, or better set this as a prop when possible?
Yes, you can set the file path in data() and pass it dynamically as a prop to i18 component.
you can change this path on demand:
}
and pass it to component: