You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
This repo includes a piece of example code, assets/deck.example, and the tutorial provides instructions for including it in the presentation by adding the code
ERROR in ./assets/deck.example 1:0
Module parse failed: 'return' outside of function (1:0)
You may need an appropriate loader to handle this file type.
> return (
| <Deck transition={['zoom','slide']} transitionDuration={800}>
| <Slide bgColor="primary">
@ ./presentation/index.js 41:14-47
@ ./index.js
@ multi @babel/polyfill webpack-hot-middleware/client react-hot-loader/patch ./index
I was able to get the example code displayed by updating the Webpack config to use the raw loader for .example files: