Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with document entry #4

Merged
merged 3 commits into from
May 21, 2021
Merged

Fix build with document entry #4

merged 3 commits into from
May 21, 2021

Conversation

yarastqt
Copy link
Member

No description provided.

@yarastqt yarastqt merged commit df17e01 into master May 21, 2021
@yarastqt yarastqt deleted the yarastqt.fix-ssr-mode branch May 21, 2021 11:28
@@ -0,0 +1,16 @@
import BaseDocument, { Html, Head, Main, NextScript } from 'next/document'
import '3d-party-library/component'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может в этот тест запихать пример с темой?

В app:

import '@yandex/ui/Theme/presets/default';

В _document:

import { cnTheme } from '@yandex/ui/Theme'
import { theme } from '@yandex/ui/Theme/presets/default'

...
<body className={cnTheme(theme)}>
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants