vue-postgrest
Vue.js Component providing PostgREST integration
2,957
91
| Install | |
|---|---|
npm install vue-postgrest |
|
| Latest Version: | 1.8.2 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Oct 22, 2026 |
| Links: | GitHub · npm |
Maintainer: wolfgangwalther
vue-postgrest
Vue.js Component providing PostgREST integration
Docs
See the official documentation
Quick Start
To get started, install vue-postgrest via your package manager:
yarn add vue-postgrest
# OR npm install vue-postgrest
Import and install the Plugin in your main.js:
import Vue from 'vue'
import Postgrest from 'vue-postgrest'
Vue.use(Postgrest)
You can use the <postgrest> component:
<postgrest route="ROUTE" query={}>
<template #default="{ items }">
{{ items }}
</template>
</postgrest>
Use the pg mixin:
<template>
<div>{{ pg.items }}</div>
</template>
<script>
import { pg } from 'vue-postgrest'
export default {
mixins: [pg],
computed: {
pgConfig () {
return {
route: 'ROUTE',
query: {}
}
}
}
}
</script>
Or you can directly use the instance method provided on your Vue instance:
this.$postgrest.ROUTE.get()
Contributing
We actively welcome your pull requests:
- Fork the repo and create your branch from main.
- If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Create a pull request.
Thank you!
Related Packages
nuxt-postgrest
First-class PostgREST for Nuxt: typed clients, SSR-aware composables and auth-aw...
697
0
duplicate-dependencies-webpack-plugin
webpack plugin to find duplicated dependencies from your bundle
332,104
6
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.8.2 | 2.7.16 | MIT | |
| 1.8.1 | 2.7.16 | MIT | |
| 1.8.0 | 2.7.16 | MIT | |
| 1.7.1 | 2.7.16 | MIT | |
| 1.7.0 | 2.7.16 | MIT | |
| 1.6.1 | 2.7.16 | MIT | |
| 1.6.0 | 2.7.16 | MIT | |
| 1.5.1 | 2.7.16 | MIT | |
| 1.5.0 | 2.7.14 | MIT | |
| 1.4.3 | 2.7.14 | MIT | |
| 1.4.2 | 2.7.14 | MIT | |
| 1.4.1 | 2.7.14 | MIT | |
| 1.4.0 | 2.7.8 | MIT | |
| 1.3.1 | 2.7.7 | MIT | |
| 1.3.0 | ^2.6.12 | MIT | |
| 1.2.0 | ^2.6.12 | MIT | |
| 1.1.2 | ^2.6.12 | MIT | |
| 1.1.1 | ^2.6.12 | MIT | |
| 1.0.1 | ^2.6.12 | MIT | |
| 1.0.0 | ^2.6.12 | MIT | |
| 0.7.4 | ^2.6.10 | MIT | |
| 0.7.3 | ^2.6.10 | MIT | |
| 0.7.2 | ^2.6.10 | MIT | |
| 0.7.1 | ^2.6.10 | MIT | |
| 0.7.0 | ^2.6.10 | MIT | |
| 0.6.2 | ^2.6.10 | MIT | |
| 0.6.1 | ^2.6.10 | MIT | |
| 0.6.0 | ^2.6.10 | MIT | |
| 0.5.2 | ^2.6.10 | MIT | |
| 0.5.1 | ^2.6.10 | MIT |
Showing the latest 30 of 42. See every release on npm
Pre-releases (20)
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.0-beta.7 | 3.5.13 | MIT | |
| 2.0.0-beta.6 | 3.5.13 | MIT | |
| 2.0.0-beta.5 | 3.5.13 | MIT | |
| 2.0.0-beta.4 | 3.5.13 | MIT | |
| 2.0.0-beta.3 | 3.5.13 | MIT | |
| 2.0.0-beta.2 | 3.5.13 | MIT | |
| 2.0.0-beta.1 | 3.5.13 | MIT | |
| 1.0.0-beta.1 | ^2.6.12 | MIT | |
| 1.0.0-alpha.11 | ^2.6.11 | MIT | |
| 1.0.0-alpha.10 | ^2.6.11 | MIT | |
| 1.0.0-alpha.9 | ^2.6.11 | MIT | |
| 1.0.0-alpha.8 | ^2.6.11 | MIT | |
| 1.0.0-alpha.7 | ^2.6.11 | MIT | |
| 1.0.0-alpha.6 | ^2.6.11 | MIT | |
| 1.0.0-alpha.5 | ^2.6.11 | MIT | |
| 1.0.0-alpha.4 | ^2.6.11 | MIT | |
| 1.0.0-alpha.3 | ^2.6.11 | MIT | |
| 1.0.0-alpha.2 | ^2.6.11 | MIT | |
| 1.0.0-alpha.1 | ^2.6.11 | MIT | |
| 1.0.0-alpha | ^2.6.11 | MIT |