@inlang/paraglide-js-vue
Vue component for rendering Paraglide JS messages that contain markup.
7,963
765
| Install | |
|---|---|
npm install @inlang/paraglide-js-vue |
|
| Latest Version: | 1.0.3 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 19, 2026 |
| Links: | GitHub · npm |
Maintainer: samuelstroschein
Vue component for rendering Paraglide JS messages that contain markup.
<script setup lang="ts">
import { ParaglideMessage } from "@inlang/paraglide-js-vue";
import { h } from "vue";
import { m } from "./paraglide/messages.js";
const markup = {
link: ({ children, options }) => h("a", { href: options.to }, children),
};
</script>
<template>
<ParaglideMessage :message="m.cta" :inputs="{}" :markup="markup" />
</template>
ParaglideMessage uses message.parts() when present and falls back to message() for
plain-text messages.
Related Packages
@inlang/paraglide-js
14,405,528
760
@inlang/cli
title: inlang CLI - Localization Automation for CI/CD description: Automate tran...
2,350,321
2,006
Version History
| Version | Released | License |
|---|---|---|
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 0.1.0 | MIT |