Skip to content

Commit 68639e9

Browse files
committed
Fix: missing /dist path in locales import
1 parent 7e10506 commit 68639e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/components/AppProvider/I18n.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</template>
2424

2525
<script setup lang="ts">
26-
// import locales from '@ownego/polaris-vue/locales/fr.json';
26+
// import locales from '@ownego/polaris-vue/dist/locales/fr.json';
2727
import locales from './fr.json'; // Let's use the import as above, this is just for demo purpose
2828
2929
const items = [

docs/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The `i18n` prop is required to pass the locales, you can check the [supported lo
9494
</AppProvider>
9595
</template>
9696
<script setup>
97-
import locales from '@ownego/polaris-vue/locales/en.json';
97+
import locales from '@ownego/polaris-vue/dist/locales/en.json';
9898
</script>
9999
```
100100
:::

0 commit comments

Comments
 (0)