adata-ui 4.0.4 → 4.0.6
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.
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -43,10 +43,13 @@ const module = defineNuxtModule({
|
|
|
43
43
|
});
|
|
44
44
|
await installModule("@nuxtjs/i18n", {
|
|
45
45
|
defaultLocale: "ru",
|
|
46
|
-
strategy: "prefix_except_default"
|
|
47
|
-
|
|
46
|
+
strategy: "prefix_except_default"
|
|
47
|
+
});
|
|
48
|
+
addPlugin(resolver.resolve("./runtime/i18n"));
|
|
49
|
+
_nuxt.hook("tailwindcss:config", (tailwindConfig) => {
|
|
50
|
+
tailwindConfig.content ||= [];
|
|
51
|
+
tailwindConfig.content.push(resolver.resolve("./runtime/components/**/*.{vue,js,ts}"));
|
|
48
52
|
});
|
|
49
|
-
addPlugin(resolver.resolve("./runtime/plugin"));
|
|
50
53
|
}
|
|
51
54
|
});
|
|
52
55
|
|
|
@@ -102,7 +102,7 @@ const info = ref([]);
|
|
|
102
102
|
</div>
|
|
103
103
|
<div class="flex justify-center lg:grow lg:items-center lg:justify-end lg:gap-4">
|
|
104
104
|
<div class="flex flex-col gap-1">
|
|
105
|
-
<span>{{ year }} © {{ t("
|
|
105
|
+
<span>{{ year }} © {{ t("footer.LLP") }} "Alldata"</span>
|
|
106
106
|
</div>
|
|
107
107
|
<i-adata
|
|
108
108
|
filled
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { defineNuxtPlugin } from "#app";
|
|
2
|
+
import RuLocale from "./lang/ru.js";
|
|
3
|
+
import EnLocale from "./lang/en.js";
|
|
4
|
+
import KkLocale from "./lang/kk.js";
|
|
2
5
|
export default defineNuxtPlugin((_nuxtApp) => {
|
|
3
6
|
const { $i18n } = _nuxtApp;
|
|
4
7
|
const messages = {
|
|
5
|
-
ru:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
en: {
|
|
11
|
-
ui: {
|
|
12
|
-
hello: "Hello from module"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
8
|
+
ru: RuLocale,
|
|
9
|
+
en: EnLocale,
|
|
10
|
+
kk: KkLocale
|
|
15
11
|
};
|
|
16
12
|
for (const locale in messages) {
|
|
17
13
|
$i18n.mergeLocaleMessage(locale, messages[locale]);
|
package/package.json
CHANGED
|
File without changes
|