Adding Dashboard and locale #1698
Villva-vinoth
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone guide me ! how to display our own dashboard in the dashboard screen and want to customization of our own locale
import AdminJSExpress from '@adminjs/express';
import AdminJS, { ComponentLoader } from 'adminjs';
import express from 'express';
import sequelize from './database.js';
import Employee from './employee.model.js';
const PORT = 3000;
const employees = {
resource: Employee,
options: {
name: "Employee Management",
}
};
const start = async () => {
const app = express();
};
start();
this was my app.js andi have db and custom Dashboard jsx file and having model
If i run the program
run successfully but with the default dashboard and default locale
Beta Was this translation helpful? Give feedback.
All reactions