|
|
@@ -118,7 +118,10 @@ let config = {
|
|
|
|
|
|
module.exports = withNCoreUIKitWebpack(config, webpack);`;
|
|
|
|
|
|
- const envSetupCode = `npx ncore-setup`;
|
|
|
+ const envSetupCode = `npx ncore-type-kit`;
|
|
|
+ const autoSetupCode = `npx ncore-setup
|
|
|
+# Sadece web için: npx ncore-setup-web
|
|
|
+# Sadece mobil için: npx ncore-setup-mobile`;
|
|
|
|
|
|
return <PageContainer
|
|
|
isWorkWithHeaderSpace={false}
|
|
|
@@ -169,7 +172,37 @@ module.exports = withNCoreUIKitWebpack(config, webpack);`;
|
|
|
variant="bodyMediumSize"
|
|
|
color="mid"
|
|
|
>
|
|
|
- Mobil (React Native / Expo) ortamında kurulum yaparken, Node.js core modül polyfill'leri (crypto, process, stream) için metro.config.js dosyanızı NCore UIKit ile sarmalamanız (wrap) gerekir.
|
|
|
+ Web (Webpack) ve Mobil (Metro) ayarlarınızı NCore UI Kit ile uyumlu hale getirmek için otomatik kurulum komutlarını kullanabilirsiniz:
|
|
|
+ </Text>
|
|
|
+ <View
|
|
|
+ style={[
|
|
|
+ stylesheet.borderedCard,
|
|
|
+ {
|
|
|
+ backgroundColor: colors.content.container.default,
|
|
|
+ borderColor: colors.content.border.subtle,
|
|
|
+ marginBottom: spaces.spacingMd,
|
|
|
+ padding: spaces.spacingMd
|
|
|
+ }
|
|
|
+ ]}
|
|
|
+ >
|
|
|
+ <Text
|
|
|
+ variant="headlineSmallSize"
|
|
|
+ >
|
|
|
+ Terminal (Otomatik Yapılandırma)
|
|
|
+ </Text>
|
|
|
+ <CodeViewer
|
|
|
+ code={autoSetupCode}
|
|
|
+ language="bash"
|
|
|
+ />
|
|
|
+ </View>
|
|
|
+ <Text
|
|
|
+ style={{
|
|
|
+ marginBottom: spaces.spacingMd
|
|
|
+ }}
|
|
|
+ variant="bodyMediumSize"
|
|
|
+ color="mid"
|
|
|
+ >
|
|
|
+ Mobil (React Native / Expo) ortamında kurulum yaparken, otomatik kurulumu tercih etmezseniz metro.config.js dosyanızı NCore UIKit ile manuel sarmalamanız (wrap) gerekir.
|
|
|
</Text>
|
|
|
<View
|
|
|
style={[
|
|
|
@@ -220,7 +253,7 @@ module.exports = withNCoreUIKitWebpack(config, webpack);`;
|
|
|
variant="bodyMediumSize"
|
|
|
color="mid"
|
|
|
>
|
|
|
- Web (React Native Web) ortamında derleme yapmak için NCore'un hazır Webpack ayarını kullanabilir veya mevcut ayarınızı sarmalayabilirsiniz.
|
|
|
+ Web (React Native Web) ortamında derleme yapmak için, otomatik kurulumu kullanmak yerine NCore'un hazır Webpack ayarını kullanabilir veya mevcut ayarınızı manuel sarmalayabilirsiniz.
|
|
|
</Text>
|
|
|
<View
|
|
|
style={[
|
|
|
@@ -287,7 +320,7 @@ module.exports = withNCoreUIKitWebpack(config, webpack);`;
|
|
|
<Text
|
|
|
variant="headlineSmallSize"
|
|
|
>
|
|
|
- Terminal
|
|
|
+ Terminal (Tip ve Lint Ayarları)
|
|
|
</Text>
|
|
|
<CodeViewer
|
|
|
code={envSetupCode}
|