11 lines
167 B
JavaScript
11 lines
167 B
JavaScript
|
import Dexie from 'dexie';
|
||
|
|
||
|
const db = new Dexie('fast-calorie');
|
||
|
|
||
|
db.version(1).stores({
|
||
|
catalog: `value type`,
|
||
|
entries: `value type`
|
||
|
});
|
||
|
|
||
|
export default db;
|