Skip Navigation

Web Modules Structure

Overview

Structure of the Web Module can be generated with ngv init command. Content and source code of the Web Module should be added in subfolders of src folder.

Web Module Structure

Assets

Contains static resources that are shipped together with code of the web module. More about Assets.

Code

Contains TypeScript code of the Web Module.

i18n

Contains module’s internationalization (i18n) resources. Allows defining text messages that are used on UI in different languages. More about i18n.

Styles

Contains custom styles defined by the web module. More about Styles.

Templates

Contains HTML templates that are based on Handlebar. More about Templates.

Tests

Contains unit tests and test resources. More about Unit tests.

manifest.json

Contains basic information about the Web Module and allows declarative registration of different types of contributions like workflow extension or custom commands.

package.json

Used to declare Web Module dependencies.