Unverified Commit 069e61d7 authored by Hassan El Mghari's avatar Hassan El Mghari Committed by GitHub

Replace babel with SWC & minor changes in `getting started` (#34282)

## List of changes made:

- [x] Replaced babel with SWC when talking about compilers & backlinked to the Next.js 12 blog post
- [x] Changed "Setup" heading to "Automatic Setup" to make it more clear
- [x] Changed one of the cards in the "related" section to be consistent with the rest
- [x] Minor grammatical fixes
Co-authored-by: 's avatarLee Robinson <9113740+leerob@users.noreply.github.com>
parent 4f5b0621
...@@ -6,7 +6,7 @@ description: Get started with Next.js in the official documentation, and learn m ...@@ -6,7 +6,7 @@ description: Get started with Next.js in the official documentation, and learn m
Welcome to the Next.js documentation! Welcome to the Next.js documentation!
If you're new to Next.js we recommend that you start with the [learn course](https://nextjs.org/learn/basics/create-nextjs-app). If you're new to Next.js, we recommend starting with the [learn course](https://nextjs.org/learn/basics/create-nextjs-app).
The interactive course with quizzes will guide you through everything you need to know to use Next.js. The interactive course with quizzes will guide you through everything you need to know to use Next.js.
...@@ -17,7 +17,7 @@ If you have questions about anything related to Next.js, you're always welcome t ...@@ -17,7 +17,7 @@ If you have questions about anything related to Next.js, you're always welcome t
- [Node.js 12.22.0](https://nodejs.org/) or later - [Node.js 12.22.0](https://nodejs.org/) or later
- MacOS, Windows (including WSL), and Linux are supported - MacOS, Windows (including WSL), and Linux are supported
## Setup ## Automatic Setup
We recommend creating a new Next.js app using `create-next-app`, which sets up everything automatically for you. To create a project, run: We recommend creating a new Next.js app using `create-next-app`, which sets up everything automatically for you. To create a project, run:
...@@ -89,12 +89,12 @@ export default HomePage ...@@ -89,12 +89,12 @@ export default HomePage
So far, we get: So far, we get:
- Automatic compilation and bundling (with webpack and babel) - Automatic compilation and [bundling](/docs/advanced-features/compiler.md)
- [React Fast Refresh](https://nextjs.org/blog/next-9-4#fast-refresh) - [React Fast Refresh](https://nextjs.org/blog/next-9-4#fast-refresh)
- [Static generation and server-side rendering](/docs/basic-features/data-fetching/overview.md) of [`./pages/`](/docs/basic-features/pages.md) - [Static generation and server-side rendering](/docs/basic-features/data-fetching/overview.md) of [`./pages/`](/docs/basic-features/pages.md)
- [Static file serving](/docs/basic-features/static-file-serving.md). `./public/` is mapped to `/` - [Static file serving](/docs/basic-features/static-file-serving.md). `./public/` is mapped to `/`
In addition, any Next.js application is ready for production from the start, read more in our [Deployment documentation](/docs/deployment.md). In addition, any Next.js application is ready for production from the start. Read more in our [Deployment documentation](/docs/deployment.md).
## Related ## Related
...@@ -110,7 +110,7 @@ For more information on what to do next, we recommend the following sections: ...@@ -110,7 +110,7 @@ For more information on what to do next, we recommend the following sections:
<div class="card"> <div class="card">
<a href="/docs/basic-features/built-in-css-support.md"> <a href="/docs/basic-features/built-in-css-support.md">
<b>CSS Support:</b> <b>CSS Support:</b>
<small>Use the built-in CSS support to add custom styles to your app.</small> <small>Built-in CSS support to add custom styles to your app.</small>
</a> </a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment