How should exif.js be introduced

problem description

how should I introduce it into my code after using npm install exif-js-- save to install local dependencies?

I try to use import EXIF from exif-js . I always report errors, but I don"t seem to use it that way.

Apr.07,2021

sb, which is the common way to introduce it: import EXIF from 'exif-js'; , it's okay to enclose exif-js in semicolons

.
Menu