Skip to content

Commit

Permalink
chore: add NativeScript Core Modules diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
tbozhikov committed Jan 10, 2018
1 parent 33f0657 commit 107e35e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/core-concepts/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ previous_url: /modules

# Modules

![NativeScript Core Modules diagram](../img/ns-modules.png)

To let you access the native device and platform capabilities of your target platform, NativeScript uses a modular design pattern. All device, platform or user interface functionalities reside in separate modules. To access the functionality provided by a module, you need to **require** the module.

In your project, the files for each module reside in a dedicated subdirectory in the `tns_modules` directory. Each default module comes along with a `package.json` file that declares how the module should be called within your call and which file contains its respective code.
Expand Down
Binary file added docs/img/ns-modules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 107e35e

Please sign in to comment.