Skip to main content

Samo-showcase-module - EXPERIMENTAL

Header

Level: Intermediate

Keywords: showcase, playground, implementation tools

The result: integration of samo-showcase-module to your project

This module combines Visual Studio Code with a live illustration of its content. You can write configuration for chosen dynamic-app web module directly in the Visual Studio Code snippet, and the right part, showing your module, will be automatically updated. This way you can easily test and tune your configuration without the need to always reload the page. This module is currently available in SAMO Demo Project.

Integrating samo-showcase-module to your project

For now, this module is not a part of any released version of dynamic-app. Therefore, it is only possible to use this module with master version of dynamic-app web modules. Afterwards it is only needed to integrate this module to a separate page. The module part contains module, which will be loaded by default. Samo-markdown-module is recommended, as you can integrate some instructions in it, like on SAMO Demo Project

Samo-showcase-module - configuration example
{
"title": "samo-markdown-module",
"security": {
"loggedIn": true
},
"module": {
"type": "component:dev-modules/modules/samo-showcase-module",
"reloadType": "instant",
"title": "Playground",
"description": "Play with modules in real time.",
"module": {
"type": "component:dynamic-app/modules/common/samo-markdown-module",
"content" : "Test"
}
}
}