infra-cli
Version:
15 lines (12 loc) • 299 B
Plain Text
import * as React from 'react'
import { render } from 'react-dom'
import App from './App'
{{#if i18n}}
import { i18next } from './i18n'
i18next.then(() => {
render(<App />, document.getElementById('root'))
})
{{/if}}
{{#unless i18n}}
render(<App />, document.getElementById('root'))
{{/unless}}