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
Copy file name to clipboardExpand all lines: ej2-angular/ui-kit/build-your-first-angular-app-with-blocks.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ domainurl: ##DomainURL##
11
11
# Build your first Angular app with our blocks
12
12
13
13
## Create an Angular app
14
-
To create an Angular app, please refer to the official Angular setup guide [here](https://v17.angular.io/guide/setup-local) to get started. In this example, I have created an Angular app named **my-angular-app** and will walk you through the step-by-step process of adding a simple sign-in block.
14
+
To create a new Angular app, please refer to the official Angular setup guide [here](https://v17.angular.io/guide/setup-local) to get started. In this example, I have created a new Angular app named **my-angular-app** and will walk you through the step-by-step process of adding a simple sign-in block.
15
15
16
16

17
17
18
18
## Setting up Tailwind or Bootstrap 5.3 theme in the app
19
19
20
-
After creating your Angular app named **my-angular-app**, open it in Visual Studio Code (which we'll be using throughout this walkthrough). Once the app is open, before proceeding further, navigate to the `src -> app -> app.component.html` file and remove the template HTML code. Remember, only remove the template HTML code and not the `<router-outlet />` code.
20
+
After creating the new Angular app named **my-angular-app**, open it in Visual Studio Code (which we'll be using throughout this walkthrough). Once the app is open, before proceeding further, navigate to the **src -> app -> app.component.html** file and remove the template HTML code. Remember, only remove the template HTML code and not the `<router-outlet />` code.
21
21
22
22
The next step is to choose a theme, either **Tailwind** or **Bootstrap 5.3**, in both light and dark modes, and configure the app accordingly.
23
23
@@ -154,29 +154,29 @@ Now that **my-angular-app** is set up with the desired theme configuration, the
154
154
155
155
### Steps to explore and copy block code snippets from the online demo
156
156
157
-
1. In the online demo, navigate to the "Authentication" category and select the "Sign In" block. This will direct you to the appropriate demo page.
157
+
1. In the [online demo](https://ej2.syncfusion.com/angular/essential-ui-kit/#/blocks), navigate to the "Authentication" category and select the "Sign In" block. This will direct you to the appropriate demo page.
158
158
159
159

160
160
161
161
2. On the demo page, select the first demo, which showcases a simple sign-in block. Choose the desired theme, then switch from the "Preview" tab to the "Code" tab.
162
162
163
163

164
164
165
-
3. In the "Code" tab, copy the HTML code using the "Copy to clipboard" option and paste it into the `src -> app -> app.component.html` file.
165
+
3. In the "Code" tab, copy the HTML code using the "Copy to clipboard" option and paste it into the **src -> app -> app.component.html** file.
166
166
167
167

168
168
169
-
4. If CSS is provided, copy the CSS code and paste it into the `src -> app -> app.component.css` file; otherwise, ignore it.
169
+
4. If CSS is provided, copy the CSS code and paste it into the **src -> app -> app.component.css** file; otherwise, ignore it.
170
170
171
171
### Steps to explore and copy block code snippets from the GitHub app
172
172
173
-
1. After downloading and opening the GitHub app in Visual Studio Code, navigate to the following folder: `src -> blocks-section`.
173
+
1. On [downloading](https://github.com/syncfusion/essential-ui-kit-for-angular) and opening the GitHub app in Visual Studio Code, navigate to the following folder: **src -> blocks-section**.
174
174
175
175

176
176
177
177
2. Inside, you'll find a list of folders, each corresponding to a specific block. Open the "signin" block folder, where you'll see the demo arranged sequentially.
178
178
179
-
3. Go to the first folder, `src/blocks-section/signin/signin-1`, where you'll find the HTML, CSS, and TS files of the simple sign-in block. You can copy the code directly from these files.
179
+
3. Go to the first folder, **src/blocks-section/signin/signin-1**, where you'll find the HTML, CSS, and TS files of the simple sign-in block. You can copy the code directly from these files.
180
180
181
181

182
182
@@ -186,25 +186,25 @@ Now that **my-angular-app** is set up with the desired theme configuration, the
186
186
187
187
## Steps to install and configure Syncfusion components
188
188
189
-
While copying and pasting the HTML code, you'll notice that Syncfusion Angular components are used. To incorporate them into **my-angular-app**, install the necessary packages and add the corresponding modules to the `src/app/app.component.ts` file for the app to run.
189
+
While copying and pasting the HTML code, you'll notice that Syncfusion Angular components are used. To incorporate them into **my-angular-app**, install the necessary packages and add the corresponding modules to the **src/app/app.component.ts** file for the app to run.
190
190
191
191
In the simple sign-in block, components such as textbox, checkbox and button are used. After copying and pasting the code into the HTML file, open the **package.json** file and add the required packages: `@syncfusion/ej2-angular-buttons` and `@syncfusion/ej2-angular-inputs`. For more details about other Syncfusion Angular component packages, refer to this [link](https://www.npmjs.com/search?q=%40syncfusion%2Fej2-angular).
192
192
193
193

194
194
195
-
Once the necessary packages are added, run the `npm install` command via the terminal to install those packages in the `node_modules` folder.
195
+
Once the necessary packages are added, run the `npm install` command via the terminal to install those packages in the **node_modules** folder.
Finally, go to the online demo or the GitHub repository and copy the required "TypeScript" code into your app. This typically includes the import module to run Syncfusion Angular components and any basic code required for the component to function.
199
+
Finally, go to the [online demo](https://ej2.syncfusion.com/angular/essential-ui-kit/#/blocks) or the [GitHub repository](https://github.com/syncfusion/essential-ui-kit-for-angular) and copy the required **TypeScript** code into your app. This typically includes the import module to run Syncfusion Angular components and any basic code required for the component to function.
200
200
201
201

202
202
203
203
> Ignore the code within the "SB Code - Start" and "SB Code - End" comments, as it is intended solely for sample browser purposes.
204
204
205
205
## Steps to import and add assets to the app
206
206
207
-
If you want to view and experience the images used in our simple sign-in design, you can download the **assets** folder from the following GitHub [link](https://github.com/syncfusion/essential-ui-kit-for-angular) and place it inside the **src** folder of **my-angular-app**.
207
+
If you want to view and experience the images used in our simple sign-in design, you can download the **assets** folder from the following [GitHub link](https://github.com/syncfusion/essential-ui-kit-for-angular/tree/master/ui-blocks/src) and place it inside the **src** folder of **my-angular-app**, modifying the image URL if required.
208
208
209
209
## Steps to run the app
210
210
@@ -214,4 +214,4 @@ Now that everything is set up in **my-angular-app** — the HTML, TS, CSS (if ap
214
214
215
215
To view the app in your browser, simply **Ctrl + Click** (or **Cmd + Click** on macOS) on the localhost URL displayed in the terminal. This will open the app in your default browser, allowing you to view and experience the simple sign-in block.
216
216
217
-

217
+

Copy file name to clipboardExpand all lines: ej2-angular/ui-kit/getting-started.md
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
12
12
13
13
Follow the steps below to get started with Essential UI Kit for Angular. You can begin in one of two ways:
14
14
15
-
-**Download the App from GitHub**: Get the full source code and run the app locally to explore the blocks.
15
+
-**Download the App from GitHub**: Get the full free source code and run the app locally to explore the blocks.
16
16
-**View the Online Demo**: Alternatively, you can try out the blocks directly through the online demo to see them in action without needing to download anything.
17
17
18
18
## Get Started by Downloading the App from GitHub
@@ -40,13 +40,11 @@ Run the following commands one after the other in the terminal:
40
40
This will download and install all the dependencies listed in the **package.json** file.
41
41
42
42
2.**Serve the App Locally**
43
-
After the dependencies are installed, you can run the app locally by starting the Angular local development server.
44
-
45
-
Run the following command:
43
+
Once the dependencies are installed, you can run the app locally by starting the Angular local development server. To do so, run the following command.
46
44
47
45

48
46
49
-
This command will start the local development server, and you'll see an output in the terminal indicating the application is running. Typically, it will display a local host URL like this:
47
+
This command will start the local development server, and you'll see an output in the terminal indicating the app is running. Typically, it will display a local host URL like this:
50
48
51
49

52
50
@@ -60,17 +58,17 @@ The blocks include several Syncfusion Angular components that require an active
60
58
To obtain the license key, visit the following page: [Syncfusion License](https://ej2.syncfusion.com/angular/documentation/licensing/overview).
61
59
62
60
#### How to Register the License Key in the App
63
-
Once you have your license key, add it to the `src/main.ts` file for seamless browsing and usage of the blocks.
61
+
Once you have your license key, add it to the **src/main.ts** file for seamless browsing and usage of the blocks.
Replace `'Your-License-Key'` with the actual license key you received from Syncfusion.
68
+
Replace **'Your-License-Key'** with the actual license key you received from Syncfusion.
71
69
72
70
By adding the license key, you ensure that the blocks are fully functional and free from licensing issues.
73
71
74
72
## Get Started by Viewing the Online Demo
75
73
76
-
If you prefer a quick demo instead of downloading the app, you can explore the blocks directly through the online demo. Simply visit the official [Essential UI Kit for Angular](#) website to interact with the blocks.
74
+
If you prefer a quick demo instead of downloading the app, you can explore the blocks directly through the online demo. Simply visit the official [Essential UI Kit for Angular](https://ej2.syncfusion.com/angular/essential-ui-kit/#/blocks) website to interact with the blocks.
0 commit comments