Skip to content

Commit 8373a4c

Browse files
authored
remove create-react-app
1 parent 9dacf8a commit 8373a4c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

โ€Žsrc/content/learn/importing-and-exporting-components.mdโ€Ž

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ img { margin: 0 10px 10px 0; height: 90px; }
5252

5353
</Sandpack>
5454

55-
<<<<<<< HEAD
56-
ู‡ุคู„ุงุก ู…ูˆุฌูˆุฏูˆู† ุญุงู„ูŠู‹ุง ููŠ **ู…ู„ู ุงู„ู…ูƒูˆู† ุงู„ุฃุณุงุณูŠ**ุŒ ุงู„ู…ุณู…ู‰ `App.js` ููŠ ู‡ุฐุง ุงู„ู…ุซุงู„. ููŠ [Create React App](https://create-react-app.dev/) ุŒ ูŠูƒูˆู† ุชุทุจูŠู‚ูƒ ููŠ `src/App.js`. ุงุนุชู…ุงุฏู‹ุง ุนู„ู‰ ุฅุนุฏุงุฏูƒุŒ ู‚ุฏ ูŠูƒูˆู† ู…ูƒูˆู†ูƒ ุงู„ุฌุฐุฑูŠ ููŠ ู…ู„ู ุขุฎุฑ. ุฅุฐุง ูƒู†ุช ุชุณุชุฎุฏู… ุฅุทุงุฑ ุนู…ู„ ู…ุน ุชูˆุฌูŠู‡ ู…ุนุชู…ุฏ ุนู„ู‰ ุงู„ู…ู„ูุงุช (File-based routing)ุŒ ู…ุซู„ Next.jsุŒ ูุณูŠูƒูˆู† ู…ูƒูˆู†ูƒ ุงู„ุฌุฐุฑูŠ ู…ุฎุชู„ูู‹ุง ู„ูƒู„ ุตูุญุฉ.
57-
=======
58-
These currently live in a **root component file,** named `App.js` in this example. Depending on your setup, your root component could be in another file, though. If you use a framework with file-based routing, such as Next.js, your root component will be different for every page.
59-
>>>>>>> 819518cfe32dd2db3b765410247c30feea713c77
55+
ู‡ุคู„ุงุก ู…ูˆุฌูˆุฏูˆู† ุญุงู„ูŠู‹ุง ููŠ **ู…ู„ู ุงู„ู…ูƒูˆู† ุงู„ุฃุณุงุณูŠ**ุŒ ุงู„ู…ุณู…ู‰ `App.js` ููŠ ู‡ุฐุง ุงู„ู…ุซุงู„. ุงุนุชู…ุงุฏู‹ุง ุนู„ู‰ ุฅุนุฏุงุฏูƒ ู„ุจูŠุฆุฉ ุงู„ุนู…ู„ุŒ ู‚ุฏ ูŠูƒูˆู† ู…ูƒูˆู†ูƒ ุงู„ุฌุฐุฑูŠ ููŠ ู…ู„ู ุขุฎุฑ. ุฅุฐุง ูƒู†ุช ุชุณุชุฎุฏู… ุฅุทุงุฑ ุนู…ู„ ู…ุน ุชูˆุฌูŠู‡ ู…ุนุชู…ุฏ ุนู„ู‰ ุงู„ู…ู„ูุงุช (File-based routing)ุŒ ู…ุซู„ Next.jsุŒ ูุณูŠูƒูˆู† ู…ูƒูˆู†ูƒ ุงู„ุฌุฐุฑูŠ ู…ุฎุชู„ูู‹ุง ู„ูƒู„ ุตูุญุฉ.
6056

6157
## ุชุตุฏูŠุฑ ูˆุงุณุชูŠุฑุงุฏ ุงู„ู…ูƒูˆู† {/*exporting-and-importing-a-component*/}
6258

0 commit comments

Comments
ย (0)