notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.

Home Page:https://notiflix.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`The requested module ... does not provide an export named ...`

KyGost opened this issue · comments

The library works fine (really well, thanks!) as a global src but I'm trying to change to using it as a module import but getting errors no matter what I try.

Using 3.2.5, trying to import individual modules or the whole thing, from the full file, or individuals, all throws for some reason.

3.2.0 doesn't work for me either.... not sure what I'm doing wrong:

import {Block} from '../notiflix/notiflix-block-aio-3.2.0.min.js'

https://github.com/notiflix/Notiflix#a-install-and-import

Is that to say that vanilla modules aren't supported...?

I'll take lack of reply as a yes.

I'll make a new issue relating to that.

Resolved via #54