@verbaly/vue 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -39,6 +39,14 @@ app.use(verbalyPlugin(verbaly));
39
39
  </template>
40
40
  ```
41
41
 
42
+ Or skip the keys entirely — write the source text in place and the compiler extracts it, right in your `.vue` files (script and template):
43
+
44
+ ```html
45
+ <template>
46
+ <p>{{ t`Hello ${name}, you have ${count} messages` }}</p>
47
+ </template>
48
+ ```
49
+
42
50
  ### ✨ Rich text — `<Trans>`
43
51
 
44
52
  ```html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/vue",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "description": "Vue 3 bindings for Verbaly — composables over the reactive core.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -48,12 +48,12 @@
48
48
  },
49
49
  "peerDependencies": {
50
50
  "vue": "^3.4.0",
51
- "verbaly": "^0.19.0"
51
+ "verbaly": "^0.21.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "happy-dom": "^20.10.6",
55
55
  "vue": "^3.5.39",
56
- "verbaly": "0.19.0"
56
+ "verbaly": "0.21.0"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsdown",