Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Dec 12, 2024
1 parent 1ce05cb commit 232944e
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@shopware-ag/meteor-component-library": "workspace:*",
"regenerator-runtime": "^0.14.1",
"vue": "3.4.21",
"vue-i18n": "^9.9.1",
"vue-i18n": "9.9.1",
"vue-router": "4.4.5"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createApp, defineAsyncComponent } from "vue";
import { location } from "@shopware-ag/meteor-admin-sdk";
import { createI18n } from "vue-i18n";
import "@shopware-ag/meteor-component-library/styles.css";

// watch for height changes
Expand Down Expand Up @@ -48,8 +47,8 @@ const app = createApp({
`,
});

const i18n = createI18n();

app.use(i18n);
// Hack to fake i18n
app.config.globalProperties.$tc = (s) => s;
app.config.globalProperties.$t = (s) => s;

app.mount("#app");
50 changes: 40 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 232944e

Please sign in to comment.