Skip to content

Commit

Permalink
refactor(create): add i18n config in init template
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed May 3, 2022
1 parent a1182b3 commit 9de672f
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 9de672f

Please sign in to comment.