Contributing to the playground
The playground application is still under development.
The playground is a web application to experiment and test the framework tools and components in real-time in local environment and also to preview the framework functionalities in production environment.
It is similar to Storybook but with custom user experience.
The repository has to be set up first. See workflow instructions.
Then the playground can be installed:
# at root foldercd playgroundnpm install
# at root foldercd playgroundnpm run develop
It is automatically reloaded when any of the sandboxes files are updated.
Each sandbox file has to follow the following file path:
For example. Package name
core, component name
Button, and sandbox name
will be located at:
All package tools/components have to have a
All sandboxes files are imported as text files and listed in a "playground config" file. According to the selected sandbox in the application, the respective source code is rendered in runtime.
Once a package component is updated, the playground application will require the source code to be compiled in CommonJS.
# at root foldernpm run compile-commonjs