Skip to content

Commit

Permalink
docs: typos and wording tweaks for getting started section (#24319)
Browse files Browse the repository at this point in the history
  • Loading branch information
morehawes authored and manniL committed Dec 11, 2023
1 parent 6d5f841 commit 47edd59
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions docs/1.getting-started/10.deployment.md
Expand Up @@ -36,6 +36,8 @@ It respects the following runtime environment variables:

### 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`:

```js [ecosystem.config.js]
Expand Down
2 changes: 1 addition & 1 deletion docs/1.getting-started/11.testing.md
Expand Up @@ -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.

Please the options below for the `setup` method.
Please use the options below for the `setup` method.

### Nuxt Config

Expand Down
4 changes: 2 additions & 2 deletions docs/1.getting-started/4.styling.md
Expand Up @@ -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

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.

Expand Down Expand Up @@ -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
- [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.
Use different styles for different layouts.
Expand Down
4 changes: 1 addition & 3 deletions docs/1.getting-started/8.server.md
@@ -1,11 +1,9 @@
---
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
---

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"}

## Powered by Nitro
Expand Down

0 comments on commit 47edd59

Please sign in to comment.