Skip to content

Commit

Permalink
refactor(create): add i18n config in init template (#7290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored May 4, 2022
1 parent be0dc6b commit 35b0f0d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ const config = {
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.

// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},

presets: [
[
'classic',
Expand Down

0 comments on commit 35b0f0d

Please sign in to comment.