feat(cli): add locale command (#2586)

This commit is contained in:
Alex
2024-11-09 20:14:29 +05:00
committed by GitHub
parent 4fbbb25f68
commit 824ba56291
5 changed files with 79 additions and 6 deletions

View File

@@ -31,5 +31,11 @@ const localesList = getLocaleKeys().map(locale => [locale, locales[locale].name]
here
</ProseA>
</ProseP>
<Tip>
Use CLI command <ProseCode>nuxt-ui make locale</ProseCode> to create a new locale
<ProsePre language="bash">
nuxt-ui make locale --code "en" --name "English"
</ProsePre>
</Tip>
</div>
</template>