# Intlayer Vue

> Intlayer Vue is an Agent Skill for development published in the aymericzip/intlayer repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Integrates Intlayer internationalization with Vue.js and Nuxt applications. Use when the user asks to "setup Vue i18n", use the "useIntlayer" composable, or manage translations in Vue components.

- Skill name: `intlayer-vue`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/aymericzip/intlayer/blob/HEAD/.agents/skills/intlayer-vue/SKILL.md
- Repository: aymericzip/intlayer (785 GitHub stars when collected)

## SKILL.md

# Intlayer Vue Usage

## Setup

- [Vite and Vue](references/environment_vite-and-vue.md)
- [Nuxt and Vue](references/environment_nuxt-and-vue.md)

## useIntlayer Composable

```vue
<script setup>
import { useIntlayer } from "vue-intlayer";
const content = useIntlayer("my-dictionary-key");

console.log(content.title.raw); // Render as raw
</script>
<template>
  <div>
    <h1>
      <!-- Render the visual editor -->
      <content.title />
    </h1>
    <h1>
      <!-- Render as string -->
      {{ content.title }}
    </h1>
    <img :src="content.image.src" :alt="content.image.alt" />
  </div>
</template>
```

[Vue Documentation](references/packages_vue-intlayer_exports.md)

## References

- [Website](https://intlayer.org)
- [Doc](https://intlayer.org/doc)

- [Vite and Vue](references/environment_vite-and-vue.md)
- [Nuxt and Vue](references/environment_nuxt-and-vue.md)
- [Vue Intlayer Exports](references/packages_vue-intlayer_exports.md)
- [Intlayer Exports](references/packages_intlayer_exports.md)

---

Source: https://www.openparable.com/skill/development/intlayer-vue (OpenParable). Cite the canonical URL above.
