@moreillon/prisma-auto-crud-vuetify

A Vue module built with Vuetify to automatically create views for each table managed by the Prisma Auto CRU middleware. It is also provided as a standalone Docker container.
1,116
Install
npm install @moreillon/prisma-auto-crud-vuetify
Latest Version:1.2.1
Vue:3
Last Updated:Mar 15, 2024
Links: npm
Maintainer: moreillon

Prisma Auto CRUD GUI

A Vue module built with Vuetify to automatically create views for each table managed by the Prisma Auto CRU middleware. It is also provided as a standalone Docker container.

Usage

As a module in your Vue.js app

Installation using NPM:

npm install @moreillon/prisma-auto-crud-vuetify

Registering the module in src/plugins/index.js:

// Plugins
import { loadFonts } from "./webfontloader";
import vuetify from "./vuetify";
import router from "../router";
import prismaAutoCrudGui from "@moreillon/prisma-auto-crud-vuetify";
const apiUrl = import.meta.env.VITE_API_URL;

// WARNING: Order is important
export function registerPlugins(app) {
  loadFonts();
  app.use(vuetify);
  app.use(prismaAutoCrudGui, { router, apiUrl });
  app.use(router);
}

As a Docker container

docker run -e VITE_API_URL=http://localhost:7070 -p 8080:80 moreillon/prisma-auto-crud-gui

Related Packages

@moreillon/vue_application_template_vuetify

Note: This package is made for Vuetify 2

2,701

Version History

Version Released Vue License
1.2.1 ^3.2.38
1.2.0 ^3.2.38
1.1.1 ^3.2.38
1.1.0 ^3.2.38
1.0.0 ^3.2.38