mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs: typos and wording tweaks for getting started section (#24319)
This commit is contained in:
parent
88ee7b7ea6
commit
8af10e459f
@ -36,6 +36,8 @@ It respects the following runtime environment variables:
|
|||||||
|
|
||||||
### PM2
|
### PM2
|
||||||
|
|
||||||
|
[PM2](https://pm2.keymetrics.io/) (Process Manager 2) is a fast and easy solution for hosting your Nuxt application on your server or VM.
|
||||||
|
|
||||||
To use `pm2`, use an `ecosystem.config.js`:
|
To use `pm2`, use an `ecosystem.config.js`:
|
||||||
|
|
||||||
```js [ecosystem.config.js]
|
```js [ecosystem.config.js]
|
||||||
|
@ -49,7 +49,7 @@ describe('My test', async () => {
|
|||||||
|
|
||||||
Behind the scenes, `setup` performs a number of tasks in `beforeAll`, `beforeEach`, `afterEach` and `afterAll` to set up the Nuxt test environment correctly.
|
Behind the scenes, `setup` performs a number of tasks in `beforeAll`, `beforeEach`, `afterEach` and `afterAll` to set up the Nuxt test environment correctly.
|
||||||
|
|
||||||
Please the options below for the `setup` method.
|
Please use the options below for the `setup` method.
|
||||||
|
|
||||||
### Nuxt Config
|
### Nuxt Config
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ Nuxt uses Vite by default. If you wish to use webpack instead, refer to each pre
|
|||||||
|
|
||||||
## Single File Components (SFC) Styling
|
## Single File Components (SFC) Styling
|
||||||
|
|
||||||
One of the best thing about Vue and SFC is how great it is at naturally dealing with styling. You can directly write CSS or preprocessor code in the style block of your components file, therefore you will have fantastic developer experience without having to use something like CSS-in-JS. However if you wish to use CSS-in-JS, you can find 3rd party libraries and modules that support it, such as [pinceau](https://pinceau.dev).
|
One of the best things about Vue and SFC is how great it is at naturally dealing with styling. You can directly write CSS or preprocessor code in the style block of your components file, therefore you will have fantastic developer experience without having to use something like CSS-in-JS. However if you wish to use CSS-in-JS, you can find 3rd party libraries and modules that support it, such as [pinceau](https://pinceau.dev).
|
||||||
|
|
||||||
You can refer to the [Vue docs](https://vuejs.org/api/sfc-css-features.html) for a comprehensive reference about styling components in SFC.
|
You can refer to the [Vue docs](https://vuejs.org/api/sfc-css-features.html) for a comprehensive reference about styling components in SFC.
|
||||||
|
|
||||||
@ -432,7 +432,7 @@ By default, Nuxt comes with the following plugins already pre-configured:
|
|||||||
- [autoprefixer](https://github.com/postcss/autoprefixer): Automatically adds vendor prefixes
|
- [autoprefixer](https://github.com/postcss/autoprefixer): Automatically adds vendor prefixes
|
||||||
- [cssnano](https://cssnano.co): Minification and purge
|
- [cssnano](https://cssnano.co): Minification and purge
|
||||||
|
|
||||||
## Leveraging Layouts For Multiple Styles
|
## Leveraging Layouts For Multiple Styles
|
||||||
|
|
||||||
If you need to style different parts of your application completely differently, you can use layouts.
|
If you need to style different parts of your application completely differently, you can use layouts.
|
||||||
Use different styles for different layouts.
|
Use different styles for different layouts.
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: 'Server'
|
title: 'Server'
|
||||||
description: Build full-stack applications, fetch data from your database, create APIs, or even generate static server-side content like a sitemap or a RSS feed, from a single codebase.
|
description: Build full-stack applications with Nuxt's server framework. You can fetch data from your database or another server, create APIs, or even generate static server-side content like a sitemap or a RSS feed - all from a single codebase.
|
||||||
navigation.icon: i-ph-computer-tower-duotone
|
navigation.icon: i-ph-computer-tower-duotone
|
||||||
---
|
---
|
||||||
|
|
||||||
Nuxt's server framework allows you to build **full-stack applications**. For example, you can fetch data from a database or another server, create an API or even generate static server-side content like a sitemap or an RSS feed - all from a single codebase.
|
|
||||||
|
|
||||||
:read-more{to="/docs/guide/directory-structure/server"}
|
:read-more{to="/docs/guide/directory-structure/server"}
|
||||||
|
|
||||||
## Powered by Nitro
|
## Powered by Nitro
|
||||||
|
Loading…
Reference in New Issue
Block a user