summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/fi/installation.md2
-rw-r--r--docs/src/pages/fi/quick-start.md4
-rw-r--r--docs/src/pages/fr/installation.md6
-rw-r--r--docs/src/pages/fr/quick-start.md4
-rw-r--r--docs/src/pages/installation.md6
-rw-r--r--docs/src/pages/quick-start.md4
-rw-r--r--docs/src/pages/zh-CN/installation.md6
-rw-r--r--docs/src/pages/zh-CN/quick-start.md4
-rw-r--r--docs/src/pages/zh-TW/installation.md6
-rw-r--r--docs/src/pages/zh-TW/quick-start.md4
10 files changed, 23 insertions, 23 deletions
diff --git a/docs/src/pages/fi/installation.md b/docs/src/pages/fi/installation.md
index 129669908..f6e630daf 100644
--- a/docs/src/pages/fi/installation.md
+++ b/docs/src/pages/fi/installation.md
@@ -60,7 +60,7 @@ Voit nyt vaihtaa oletuksena toimivan "scripts"-osion `npm init`in luomassa `pack
```diff
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
-+ "start": "astro dev",
++ "dev": "astro dev",
+ "build": "astro build"
},
}
diff --git a/docs/src/pages/fi/quick-start.md b/docs/src/pages/fi/quick-start.md
index 494deb262..6bc0d92e0 100644
--- a/docs/src/pages/fi/quick-start.md
+++ b/docs/src/pages/fi/quick-start.md
@@ -18,7 +18,7 @@ npm init astro
npm install
# aloita kehittäminen!
-npm start
+npm run dev
# kun olet valmis: luo oma staattinen sivustosi hakemistoon `dist/`
npm run build
@@ -33,7 +33,7 @@ Astro-sivuston käyttöönotto tuotannossa vaatii `/dist`-hakemiston (joka luoda
Siirry takaisin komentoriville ja suorita tämä komento projektin hakemistossa:
```bash
-npm start
+npm run dev
```
Tämän jälkeen ohjelma on käynnissä osoitteessa [http://localhost:3000](http://localhost:3000). Avaa tämä URL selaimessa nähdäksesi viestin "Moi maailma!", jonka kopioimme edellisessä vaiheessa.
diff --git a/docs/src/pages/fr/installation.md b/docs/src/pages/fr/installation.md
index 1ee79ed96..8fa439c96 100644
--- a/docs/src/pages/fr/installation.md
+++ b/docs/src/pages/fr/installation.md
@@ -85,13 +85,13 @@ Vous pouvez aussi remplacer la section "scripts" du fichier `package.json` avec
```diff
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
-+ "start": "astro dev",
++ "dev": "astro dev",
+ "build": "astro build"
},
}
```
-La commande [`start`](#start-astro) démarre le serveur de développement Astro à l'adresse `http://localhost:3000`. Une fois votre projet terminé, la commande [`build`](#build-astro) produit votre site dans le dossier `dist/`. [En savoir plus sur le déploiement d'un site développé avec Astro.](/guides/deploy)
+La commande [`dev`](#start-astro) démarre le serveur de développement Astro à l'adresse `http://localhost:3000`. Une fois votre projet terminé, la commande [`build`](#build-astro) produit votre site dans le dossier `dist/`. [En savoir plus sur le déploiement d'un site développé avec Astro.](/guides/deploy)
### Créer une première page
@@ -133,7 +133,7 @@ Vous pouvez continuer à ajouter des fichiers dans le dossier `src/pages`, et As
## [Démarrer Astro](#démarrer-astro)
```bash
-npm start
+npm run dev
```
Astro va démarrer votre site à l'adresse `http://localhost:3000`. En ouvrant cette URL dans votre navigateur, vous devriez voir s'afficher "Hello, World", ou bien la page créée précédemment.
diff --git a/docs/src/pages/fr/quick-start.md b/docs/src/pages/fr/quick-start.md
index 866ac468e..6cb5a2b3e 100644
--- a/docs/src/pages/fr/quick-start.md
+++ b/docs/src/pages/fr/quick-start.md
@@ -18,7 +18,7 @@ npm init astro
npm install
# Commencez à coder !
-npm start
+npm run dev
# Quand votre site est fin prêt, compilez-en une version statique dans le dossier `dist/`
npm run build
@@ -31,7 +31,7 @@ Si vous désirez en savoir plus sur les différentes façons d'installer Astro d
Depuis un terminal ouvert dans votre projet, entrez la commande suivante :
```bash
-npm start
+npm run dev
```
Astro va lancer un serveur local sur [http://localhost:3000](http://localhost:3000). Ouvrez cette adresse dans votre navigateur, et vous devriez voir le "Hello, World" d'Astro.
diff --git a/docs/src/pages/installation.md b/docs/src/pages/installation.md
index 440268e3b..ea6ff9d12 100644
--- a/docs/src/pages/installation.md
+++ b/docs/src/pages/installation.md
@@ -86,13 +86,13 @@ You can now replace the placeholder "scripts" section of your `package.json` fil
```diff
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
-+ "start": "astro dev",
++ "dev": "astro dev",
+ "build": "astro build"
},
}
```
-The [`start`](#start-astro) command launches the Astro Dev Server on `http://localhost:3000`. Once your project is ready, the [`build`](#build-astro) command outputs your project to the `dist/` directory. [Read more about deploying Astro in the Deploy guide.](/guides/deploy)
+The [`dev`](#start-astro) command launches the Astro Dev Server on `http://localhost:3000`. Once your project is ready, the [`build`](#build-astro) command outputs your project to the `dist/` directory. [Read more about deploying Astro in the Deploy guide.](/guides/deploy)
### Create your first page
@@ -135,7 +135,7 @@ You can create more pages in the `src/pages` directory, and Astro will use the f
## [Start Astro](#start-astro)
```bash
-npm start
+npm run dev
```
Astro will now start serving your application on `http://localhost:3000`. By opening this URL in your browser, you should see the Astro's “Hello, World”
diff --git a/docs/src/pages/quick-start.md b/docs/src/pages/quick-start.md
index 3685c6bbd..c59a12a49 100644
--- a/docs/src/pages/quick-start.md
+++ b/docs/src/pages/quick-start.md
@@ -17,7 +17,7 @@ npm init astro
npm install
# start developing!
-npm start
+npm run dev
# when you're ready: build your static site to `dist/`
npm run build
@@ -30,7 +30,7 @@ If you wish to learn more about the range of methods to install and setup Astro
From inside your project directory, enter the following command into your terminal:
```bash
-npm start
+npm run dev
```
Astro will now start serving your application on [http://localhost:3000](http://localhost:3000). Opening this URL in your browser, you should see the Astro's "Hello, World".
diff --git a/docs/src/pages/zh-CN/installation.md b/docs/src/pages/zh-CN/installation.md
index 806f2ae34..b340edf8c 100644
--- a/docs/src/pages/zh-CN/installation.md
+++ b/docs/src/pages/zh-CN/installation.md
@@ -91,13 +91,13 @@ npm install astro
```diff
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
-+ "start": "astro dev",
++ "dev": "astro dev",
+ "build": "astro build"
},
}
```
-[`start`](#start-astro) 命令在 `http://localhost:3000` 上启动 Astro 开发服务器。一旦你的项目准备好了。
+[`dev`](#start-dev) 命令在 `http://localhost:3000` 上启动 Astro 开发服务器。一旦你的项目准备好了。
[`build`](#build-astro)命令将你的项目输出到 `dist/` 目录。[在部署指南中阅读更多关于部署 Astro 的内容。](/guides/deploy)
@@ -141,7 +141,7 @@ console.log('See me in the Terminal')
## [启动 Astro](#start-astro)
```bash
-npm start
+npm run dev
```
Astro 会开启预览服务器,地址为 [http://localhost:3000](http://localhost:3000),
diff --git a/docs/src/pages/zh-CN/quick-start.md b/docs/src/pages/zh-CN/quick-start.md
index 5ecec6784..2e760eb49 100644
--- a/docs/src/pages/zh-CN/quick-start.md
+++ b/docs/src/pages/zh-CN/quick-start.md
@@ -18,7 +18,7 @@ npm init astro
npm install
# 启动项目
-npm start
+npm run dev
# 将项目打包到 dist 文件夹下
npm run build
@@ -31,7 +31,7 @@ npm run build
工程目录下终端输入以下命令:
```bash
-npm start
+npm run dev
```
Astro 会开启预览服务器,地址为 [http://localhost:3000](http://localhost:3000),
diff --git a/docs/src/pages/zh-TW/installation.md b/docs/src/pages/zh-TW/installation.md
index bb0a6ef32..aa2270ea9 100644
--- a/docs/src/pages/zh-TW/installation.md
+++ b/docs/src/pages/zh-TW/installation.md
@@ -87,13 +87,13 @@ npm install astro
```diff
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
-+ "start": "astro dev",
++ "dev": "astro dev",
+ "build": "astro build"
},
}
```
-[`start`](#start-astro) 指令在 `http://localhost:3000` 啟動 Astro 開發伺服器。一但專案已經準備好,[`build`](#build-astro) 指令將專案輸出至 `dist/` 資料夾。[在「部署指南」深入閱讀部署 Astro](/guides/deploy)。
+[`dev`](#start-astro) 指令在 `http://localhost:3000` 啟動 Astro 開發伺服器。一但專案已經準備好,[`build`](#build-astro) 指令將專案輸出至 `dist/` 資料夾。[在「部署指南」深入閱讀部署 Astro](/guides/deploy)。
### 建立第一個頁面
@@ -136,7 +136,7 @@ console.log('See me in the Terminal')
## [啟動 Astro](#start-astro)
```bash
-npm start
+npm run dev
```
Astro 會為應用程式打開 `http://localhost:3000` 的伺服器。在瀏覽器開啟網址,就會看到 Astro 的「Hello World」。
diff --git a/docs/src/pages/zh-TW/quick-start.md b/docs/src/pages/zh-TW/quick-start.md
index 9d7ded5ab..3718e8957 100644
--- a/docs/src/pages/zh-TW/quick-start.md
+++ b/docs/src/pages/zh-TW/quick-start.md
@@ -18,7 +18,7 @@ npm init astro
npm install
# 開始開發!
-npm start
+npm run dev
# 做好之後:把靜態網站 build 進 `dist/`
npm run build
@@ -31,7 +31,7 @@ npm run build
專案目錄裡,在終端機輸入以下指令:
```bash
-npm start
+npm run dev
```
現在,Astro 就會開啟應用程式的伺服器,位置是 [http://localhost:3000](http://localhost:3000)。在瀏覽器打開這網址,就會看到 Astro 的 「Hello, World」。