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
I can't this function with the Components in existing my react project.
Steps to reproduce the behavior:
I have added the new router with '/paperbits' to add this component.
And then created the components that named Paperbits.
Also I didn't use the webpack.
this is the error screen for compile.
****Failed to compile.
./node_modules/@paperbits/common/persistence/offline.module.ts 11:27
Module parse failed: Unexpected token (11:27)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| * Module registering components required for offline work.
| */
Hi @DmitriyKushkulov, so this will not currently work without webpack, because it takes care of multiple things, i.e. loading referenced *.html files from npm packages. We are planning to publish packages with pre-compiled files along with Typings, so that scenario like yours would work, and we won't break existing customers, but this is coming later this year.
So, you either have to go with webpack, as shown in the demo project, or wait until we switch to new packaging.
I can't this function with the Components in existing my react project.
Steps to reproduce the behavior:
****Failed to compile.
./node_modules/@paperbits/common/persistence/offline.module.ts 11:27
Module parse failed: Unexpected token (11:27)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| * Module registering components required for offline work.
| */
Please help me. really thanks.
The text was updated successfully, but these errors were encountered: