Quick Start

What will be covered in QS? The Quick Start section will guide you through the essential steps to set up and start working with the TCB frontend project.

It covers:

  • Creating a new project using Angular.

  • Setting up authentication to access Tradinos packages.

  • Downloading the required packages and dependencies.

  • Starting with coding to quickly build and see results in action.

By the end of this section, you’ll have a functional development setup and a working example to get started with ease.

1- Make sure that you have applied the steps in the intro:

INTROchevron-right

In this section, we will cover how to code like the image below, the main component we are going to use :

  • AppContainerComponent

  • NavContainerComponent

  • NavigationMenuComponent

  • ToolbarComponent

  • ThemeSwitcherComponent

2-Now let's start with code

And you need to update your angular.json file to apply the style in your app :

Do not forget to add prime theme in your index.html file:

3- AppContainerComponent:

  1. Import the component in your app component :

  1. The selector for component, like it :

For more details, you can go to the component page:

App Container Componentchevron-right

4- NavContainerComponent

  1. Import the component :

  1. The selector for component, like it :

For more details, you can go to the component page:

Nav Container Componentchevron-right

5- NavigationMenuComponent

  1. Import the component :

  1. The selector for component, like it :

For example :

For more details, you can go to the component page:

Nav Menu Component chevron-right

6- ToolbarComponent

  1. Import the component :

  1. The selector for component , like it :

For more details, you can go to the component page:

ToolBar Componentchevron-right

7- ThemeSwitcherComponent

  1. Import the component :

  1. The selector for component, like it :

For more details, you can go to the component page:

Theme Switcher Componentchevron-right

Last updated