You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- click-outside (detects when the user clicks outside an element).
58
+
59
+
## 🧪 Custom pipes
60
+
61
+
- bytes (transforms a numeric value into bytes, KB, MB, GB, etc.).
62
+
63
+
## 🛠️ Customizing to your preference
64
+
65
+
- Change application title:
66
+
67
+
Go to `src/index.html` and inside the `title` tag, replace "Angular Boilerplate" with your app name.
68
+
69
+
- Change paths of the pages:
70
+
71
+
Go to `src/app/core/structs/path.enum.ts` to find all the registered routes in an enum file.
72
+
73
+
For example, you could replace `sign-in` with `SignIn`, `login` or `iniciar_sesion`
74
+
75
+
- Change titles, descriptions, and robots of the pages:
76
+
77
+
Every page has a `.route` file that contains an exported constant that holds the title and description and a robot's metatag that indicates if it can be indexed or followed by a web crawler.
78
+
79
+
- Change light and dark mode colors:
80
+
81
+
Go to `src/css/01-settings/variables.scss` and tweak it to your preference.
82
+
83
+
- Change your TailwindCSS configuration:
84
+
85
+
Go to `config/tailwind.config.js` and tweak it to your preference. You can refer to https://tailwindcss.com/docs/configuration to learn how to do it.
86
+
87
+
- Add new PostCSS plugins
88
+
89
+
Go to `config/webpack-dev.config.js` for development and testing or to `config/webpack-prod.config.js` for production settings and add the new plugins inside the plugins array.
90
+
91
+
## ⛩️ Project structure
92
+
93
+
```console
94
+
├───app
39
95
│ ├───@components
40
96
│ │ ├───breadcrumb
41
97
│ │ ├───footer
@@ -54,6 +110,28 @@ Angular starter for enterprise-grade front-end projects built under a clean arch
54
110
│ │ │ └───seo
55
111
│ │ ├───structs
56
112
│ │ └───utils
113
+
│ ├───+auth
114
+
│ │ └───pages
115
+
│ │ ├───forgot-password
116
+
│ │ ├───forgot-password-email-sent
117
+
│ │ ├───password-reset
118
+
│ │ ├───password-reset-failed
119
+
│ │ ├───password-reset-succeeded
120
+
│ │ ├───sign-in
121
+
│ │ └───sign-up
122
+
│ ├───+settings
123
+
│ │ └───pages
124
+
│ │ ├───account
125
+
│ │ ├───appearance
126
+
│ │ ├───billing
127
+
│ │ ├───blocked-users
128
+
│ │ ├───notifications
129
+
│ │ ├───security
130
+
│ │ └───security-log
131
+
│ ├───+user
132
+
│ │ └───pages
133
+
│ │ ├───my-profile
134
+
│ │ └───overview
57
135
│ └───features
58
136
├───assets
59
137
├───css
@@ -70,14 +148,18 @@ Angular starter for enterprise-grade front-end projects built under a clean arch
70
148
└───icons
71
149
```
72
150
73
-
## Current page speed insights
74
-
75
-
### Mobile
76
-
77
-

78
-
79
-
### Desktop
80
-
81
-

151
+
## 🧙♂️ Commands
82
152
83
-
If you want to check that out by yourself, you can do it [here](https://developers.google.com/speed/pagespeed/insights/?hl=es&url=https%3A%2F%2Fangularboilerplate.netlify.app%2Flogin%3FreturnUrl%3D%252F&tab=desktop)
| ng | See available commands | npm run ng | yarn ng | ng |
156
+
| start | Run your app in development mode | npm start | yarn start | ng serve |
157
+
| start:es| Run your app in development mode in spanish | npm run start:es| yarn start:es| ng serve -c=es --port 4201 |
158
+
| build | Build your app | npm run build | yarn build | ng build |
159
+
| build:prod| Build your app ready for production | npm run build:prod| yarn build:prod| ng build --prod --build-optimizer --aot --stats-json |
160
+
| 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 |
161
+
| test | Run your unit tests | npm run test | yarn test | ng test |
162
+
| lint | Use ESLint to lint your app | npm run lint | yarn lint | ng lint |
163
+
| e2e | Run your e2e integration tests | npm run e2e | yarn e2e | ng e2e |
164
+
| extract | Extract i18n messages from i18n directives | npm run extract | yarn extract | ng extract-i18n --output-path locale --ivy |
165
+
| analyze | Open webpack-bundle-analyzer | npm run analyze | yarn analyze | webpack-bundle-analyzer dist/angular-boilerplate/stats-es2015.json |
0 commit comments