Logicola supports offline use for all published quizzes after the app has been opened while online at least once.
- Published quiz routes are cached for offline use.
- Non-quiz routes are not guaranteed to work offline.
- Uncached offline navigations fall back to
/offline.
content/quiz-catalog.jsonlists the published quizzes.pnpm buildgeneratespublic/offline-manifest.json.public/sw.jscaches the published quiz routes and required app assets.
- Add the quiz content.
- Add the published route to
content/quiz-catalog.json. - Run
pnpm build. - Test the route offline.
If a quiz is not listed in content/quiz-catalog.json, it will not be included in the offline bundle.