Tutorial
Stackpress is a vast library with built-in toolkits and many features, making it difficult to explain in one go. The purpose of this tutorial is to get a basic understanding of the core framework and give ideas on how to structure projects. Its specific objectives are the following.
- • Setting up the project to use the EcmaScript Module standard.
- • Structuring the project around a plugin architecture that defines folders for use as a plugin.
- • Setting up an example plugin called app which contains an example page controller and view.
- • Demonstrate how the view is rendered from the server side router.
- • Demonstrate how props are passed to the view.
- • Configuring the view to enable a style engine.
By the end of this tutorial, the end result is a pluggable project structure that can be used to build a web application. You can use the following blocks to skip around the tutorial.