Skip to content
Florian Süsstrunk edited this page Oct 20, 2016 · 17 revisions

Module Mocks

Add a mock by creating a file called {{modulename}}.mock.js

Example: ./source/demo/modules/slideshow/slideshow.mock.js

mocks are written in javascript and must return an object or an array. the gulp task for mocks transpiles the mock-data to JSON and writes it into the builded module-folder. e.g. /build/modules/slideshow/slideshow.json

estatico is made by unic & the community. feel free to give feedback and extend these documents

Clone this wiki locally