Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Standalone Bulma-Quickview not found when used with React.js #35

Open
fireflyfolio opened this issue Sep 11, 2020 · 0 comments
Open

Standalone Bulma-Quickview not found when used with React.js #35

fireflyfolio opened this issue Sep 11, 2020 · 0 comments

Comments

@fireflyfolio
Copy link

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

@fireflyfolio fireflyfolio changed the title Bulma-Quickview not found when used standalone with React.js Standalone Bulma-Quickview not found when used standalone with React.js Sep 11, 2020
@fireflyfolio fireflyfolio changed the title Standalone Bulma-Quickview not found when used standalone with React.js Standalone Bulma-Quickview not found when used with React.js Sep 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant