bulma-quickview
bulma-quickview copied to clipboard
Standalone Bulma-Quickview not found when used with React.js
Hi everyone,
With Bulma Quickview standalone, I'm trying to import bulmaQuickview in my React.js web application as follows:
import React from 'react';
import bulmaQuickview from 'bulma-quickview';
And I get this error from create-react-app server:
Failed to compile.
./src/FooComponent.js
Module not found: Can't resolve 'bulma-quickview' in '/path/to/my-app/src'
But it works if I import Bulma Quickview from the whole Bulma Extensions as follows:
import React from 'react';
import { bulmaQuickview } from 'bulma-extensions';
NB: This way of importing a standalone Bulma Extension works with Bulma Calendar.
Any idea where the issue comes from?
Thanks in advance for your help.
Best regards,
Quentin