diff --git a/docs/pre-requisites.md b/docs/pre-requisites.md index f9f548f36..9d01eabb0 100644 --- a/docs/pre-requisites.md +++ b/docs/pre-requisites.md @@ -6,10 +6,16 @@ lang: en # Prerequisites -In order to use start using Scully, you need an existing Angular application with **v8.x.x** or **v9.x.x** or You can create a new Angular 9 application by running the following command: +In order to start using Scully, you need an existing Angular application with **v8.x.x** or **v9.x.x**. + +#### IMPORTANT: + +_Scully depends on the application's router module in order to generate the website's pages. Your application must include a RouterModule._ + +You can create a new Angular 9 application by running the following command: ```bash -npx -p @angular/cli ng new my-scully-app +npx -p @angular/cli ng new my-scully-app --routing ``` If the above command fails, install the Angular CLI globally with the following command: @@ -21,17 +27,7 @@ npm install -g @angular/cli Then, create a new application. ```bash -ng new my-scully-app -``` - -#### IMPORTANT: - -_Scully depends on the application's router module in order to generate the website's pages_ - -Add a router module with the following command: - -```bash -ng generate module app-routing --flat --module=app +ng new my-scully-app --routing ``` Find more info about the Angular CLI here [馃憠 angular.io/cli](https://angular.io/cli) diff --git a/docs/pre-requisites_es.md b/docs/pre-requisites_es.md index 8427f65e9..9948e86fa 100644 --- a/docs/pre-requisites_es.md +++ b/docs/pre-requisites_es.md @@ -6,10 +6,16 @@ lang: es # Requisitos previos -Para comenzar a usar Scully, se necesita una aplicaci贸n Angular existente con **v8.x.x** o **v9.x.x** o puede crear una nueva aplicaci贸n Angular 9 ejecutando el siguiente comando: +Para comenzar a usar Scully, se necesita una aplicaci贸n Angular existente con **v8.x.x** o **v9.x.x**. + +#### IMPORTANTE: + +_Scully depende del m贸dulo de rutas de la aplicaci贸n para generar las p谩ginas del sitio web_ + +Puede crear una nueva aplicaci贸n Angular 9 ejecutando el siguiente comando: ```bash -npx -p @angular/cli ng new my-scully-app +npx -p @angular/cli ng new my-scully-app --routing ``` Si el comando anterior falla, instale el Angular CLI globalmente con el siguiente comando: @@ -21,17 +27,7 @@ npm install -g @angular/cli Luego, crea una nueva aplicaci贸n. ```bash -ng new my-scully-app -``` - -#### IMPORTANTE: - -_Scully depende del m贸dulo de rutas de la aplicaci贸n para generar las p谩ginas del sitio web_ - -Agregue un m贸dulo de rutas con el siguiente comando: - -```bash -ng generate module app-routing --flat --module=app +ng new my-scully-app --routing ``` Encuentre m谩s informaci贸n sobre el Angular CLI aqu铆 [馃憠 angular.io/cli](https://angular.io/cli)