Directives for vxt dev
// main.ts
import vxtDirectives from "@vxt/directives";
const app = createApp(App)
app.use(vxtDirectives)
<!--message got with chrome.i18n.getMessage('optionText') will be set as tag's innerHTML-->
<a v-i18n="'optionText'"></a>
<!--i18n with substitutions (chrome.i18n.getMessage('optionText', 'hello')-->
<a v-i18n="['optionText', 'hello']"></a>
<!--message got with chrome.i18n.getMessage('linkTitle') will be set as tag's title-->
<a v-i18n:title="'linkTitle'"></a>