0.0.11 • Published 2 years ago

@deegital/vue-3-trustup-io-i18n v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

vue-3-trustup-io-i18n 🈲

Installation

    yarn add @deegital/vue-3-trustup-io-i18n

Usage/ Exemples

In your main.ts

import { translationPlugin } from "./lib";

const app = createApp(App);

app.use(translationPlugin, { appName: import.meta.env.VITE_APP_NAME });

app.mount("#app");

It will return "Chantier"

<div class="text-2xl text-gray-600 font-thin">{{ $t("apps.worksite") }}</div>

You can use the composable and the plugin

<div>{{ $trustupT.isLoading }}</div>

OR

import { useTranslation } from "./lib";

const translation = useTranslation();

Initialization

./cli bootstrap

Usage

Start dev server

./cli start

Stop dev server

./cli stop

Yarn

./cli yarn install

Publish versions

./cli version patch
0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago