diff --git a/README.md b/README.md
index 9384f14af..6cd2a2542 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,6 @@
- Unit tests with Jest instead of Karma & Jasmine.
- e2e tests with Cypress instead of Protractor.
- PWA
-- i18n
- Dynamic titles and content meta tags.
- TailwindCSS + Autoprefixer + PurgeCSS setup.
- Dark mode and theme configuration.
@@ -62,9 +61,8 @@
```
Types of pages
-+ = main page
-- = response page
- = regular page
+public: everybody can see them
+private: only logged in users can see them
```
- General
@@ -236,7 +234,6 @@ yarn remove tailwindcss autoprefixer postcss
```console
├───app
│ ├───@core
-│ │ ├───core
│ │ ├───directives
│ │ │ └───click-outside
│ │ ├───guards
@@ -252,34 +249,36 @@ yarn remove tailwindcss autoprefixer postcss
│ │ ├───footer
│ │ ├───header
│ │ └───layout
-│ └───pages
-│ ├───+auth
-│ │ ├───forgot-password
-│ │ ├───forgot-password-email-sent
-│ │ ├───password-reset
-│ │ ├───password-reset-failed
-│ │ ├───password-reset-succeeded
-│ │ ├───sign-in
-│ │ ├───sign-up
-│ │ └───_services
-│ ├───+home
-│ ├───+settings
-│ │ ├───account
-│ │ ├───appearance
-│ │ ├───billing
-│ │ ├───blocked-users
-│ │ ├───notifications
-│ │ ├───security
-│ │ └───security-log
-│ ├───+user
-│ │ ├───my-profile
-│ │ └───overview
-│ ├───dashboard
-│ └───_not-found
+│ ├───pages
+│ │ ├───private
+│ │ │ ├───dashboard
+│ │ │ ├───settings
+│ │ │ │ ├───account
+│ │ │ │ ├───appearance
+│ │ │ │ ├───billing
+│ │ │ │ ├───blocked-users
+│ │ │ │ ├───notifications
+│ │ │ │ ├───security
+│ │ │ │ └───security-log
+│ │ │ └───user
+│ │ │ ├───my-profile
+│ │ │ └───overview
+│ │ └───public
+│ │ ├───auth
+│ │ │ ├───forgot-password
+│ │ │ ├───forgot-password-email-sent
+│ │ │ ├───password-reset
+│ │ │ ├───password-reset-failed
+│ │ │ ├───password-reset-succeeded
+│ │ │ ├───sign-in
+│ │ │ ├───sign-up
+│ │ │ └───_services
+│ │ ├───home
+│ │ └───not-found
+│ └───router
├───assets
-├───environments
-├───public
│ └───icons
+├───environments
└───theme
├───01-base
├───02-components
@@ -288,18 +287,14 @@ yarn remove tailwindcss autoprefixer postcss
## 🧙♂️ Commands
-| Command | Description | NPM | Yarn | Background command |
-| ------------- | ------------------------------------------------- | --------------------- | ------------------ | --------------------------------------------------------------- |
-| ng | See available commands | npm run ng | yarn ng | ng |
-| dev | Run your app in development mode & open app | npm run dev | yarn dev | ng serve -o |
-| start | Run your app in development mode | npm start | yarn start | ng serve |
-| start:es | Run your app in development mode in spanish | npm run start:es | yarn start:es | ng serve -c=es --port 4201 |
-| build | Build your app | npm run build | yarn build | ng build |
-| build:prod | Build your app ready for production | npm run build:prod | yarn build:prod | ng build --prod --build-optimizer --aot --stats-json |
-| build:i18n | Build your multilingual app ready for production | npm run build:i18n | yarn build:i18n | ng build --prod --build-optimizer --aot --stats-json --localize |
-| test | Run your unit tests | npm run test | yarn test | ng test |
-| test:coverage | Run your unit tests & generates a coverage report | npm run test:coverage | yarn test:coverage | ng test --coverage |
-| lint | Use ESLint to lint your app | npm run lint | yarn lint | ng lint |
-| e2e | Run your e2e tests | npm run e2e | yarn e2e | ng e2e |
-| i18n:extract | Extract i18n messages from i18n directives | npm run extract | yarn extract | ng extract-i18n --output-path locale --ivy |
-| analyze | Open webpack-bundle-analyzer | npm run analyze | yarn analyze | webpack-bundle-analyzer dist/angular-boilerplate/stats.json |
+| Command | Description | NPM | Yarn | Background command |
+| ------------- | ------------------------------------------------- | --------------------- | ------------------ | ----------------------------------------------------------- |
+| ng | See available commands | npm run ng | yarn ng | ng |
+| start | Run your app in development mode | npm start | yarn start | ng serve |
+| build | Build your app | npm run build | yarn build | ng build |
+| build:prod | Build your app ready for production | npm run build:prod | yarn build:prod | ng build --prod --build-optimizer --aot --stats-json |
+| test:unit | Run your unit tests | npm run test | yarn test | ng test |
+| test:e2e | Run your e2e tests | npm run e2e | yarn e2e | ng e2e |
+| test:coverage | Run your unit tests & generates a coverage report | npm run test:coverage | yarn test:coverage | ng test --coverage |
+| lint | Use ESLint to lint your app | npm run lint | yarn lint | ng lint |
+| analyze | Open webpack-bundle-analyzer | npm run analyze | yarn analyze | webpack-bundle-analyzer dist/angular-boilerplate/stats.json |
diff --git a/angular.json b/angular.json
index f1e30244b..a98e4b5d6 100644
--- a/angular.json
+++ b/angular.json
@@ -32,11 +32,9 @@
"assets": [
"src/favicon.ico",
"src/assets",
- "src/public"
- ],
- "styles": [
- "src/theme/styles.scss"
+ "src/manifest.webmanifest"
],
+ "styles": ["src/theme/styles.scss"],
"scripts": []
},
"configurations": {
@@ -68,11 +66,6 @@
],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
- },
- "es": {
- "localize": [
- "es"
- ]
}
}
},
@@ -84,40 +77,27 @@
"configurations": {
"production": {
"browserTarget": "angular-boilerplate:build:production"
- },
- "es": {
- "browserTarget": "angular-boilerplate:build:es"
}
}
},
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "angular-boilerplate:build"
- }
- },
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"assets": [
- "src/public/favicon.ico",
- "src/assets"
- ],
- "styles": [
- "src/theme/styles.scss"
+ "src/favicon.ico",
+ "src/assets",
+ "src/manifest.webmanifest"
],
+ "styles": ["src/theme/styles.scss"],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
- "lintFilePatterns": [
- "src/**/*.ts",
- "src/**/*.html"
- ]
+ "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"e2e": {
@@ -157,14 +137,8 @@
}
}
}
- },
- "i18n": {
- "sourceLocale": "en-US",
- "locales": {
- "es": "locale/messages.es.xlf"
- }
}
}
},
"defaultProject": "angular-boilerplate"
-}
\ No newline at end of file
+}
diff --git a/locale/messages.es.xlf b/locale/messages.es.xlf
deleted file mode 100644
index 5671ee0b1..000000000
--- a/locale/messages.es.xlf
+++ /dev/null
@@ -1,39 +0,0 @@
-
-