Integrate BagelDB with Nuxt.js

SSR? No prblem

Module for Nuxt


Start using BagelDB with Nuxt.js in seconds

// nuxt.config.js { modules: [ ['@bageldb/bageldb-nuxt',{ token: process.env.NUXT_ENV_BAGEL_TOKEN }] ] } // index.vue async asyncData({$db}){ let {data:articles} = await $db.collection("articels").get() return {articles} }

Vue Images

Of course, works with image assets lazy loadedr from BagelDB will be delivered with a lazy loader in most optimal image size for the current view.

<bgl-img :image="blog.coverImage"/>