[Vuejs]-Vuejs use NeDB,can not find database files

1👍

It is explained in the README that in the browser version, the database is persisted to the best available storage option in the browser, amongst indexedDB, localstorage etc.

You cannot find this file on the hard drive, because browse era would not allow script to create files.

1👍

As said here in the documentation:

In the browser version, If you specify a filename, the database will be persistent, and
automatically select the best storage method available (IndexedDB,
WebSQL or localStorage) depending on the browser.

That means that the “filename” must be stored somewhere in either of this method, depending on the browser.

I never used this project, but I suppose that it must give the filename to a DB in indexDB, or to the key of the localStorage value etc…

Leave a comment