You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
import{bootstrap}from'n-ui';bootstrap(({ flags, allStylesLoaded, appInfo})=>{// your app code})
use
import{flags,allStylesLoaded,appInfo,onAppInitialized}from'n-ui';// your app codeonAppInitialized();
Rather than passing flags around, you can import from n-ui wherever you want to use them
delete client/n-ui-config.js and assign its contents (server side) to app.locals.nUiConfig
where preact is used (only the article app now, possibly kat stuff too) explicitly use preact-compat instead of React and React-Dom - the build no longer does clever stuff around this
o-header subnav styles (only used on stream page and myFT page AFAIK) need to be output explicitly
import tracking from 'n-ui/components/n-ui/tracking' -> import { tracking } from 'n-ui'
import ads from 'n-ui/components/n-ui/ads' -> import { ads } from 'n-ui'
perfMark('appJsExecuted'); dispatchLoadedEvent();
main-without-n-ui.js
->main.js
The text was updated successfully, but these errors were encountered: