bit fix on build
parent
32fa189e4f
commit
1101c82e02
@ -1,56 +1,35 @@
|
||||
import {
|
||||
HiChartPie,
|
||||
HiUser,
|
||||
HiCollection,
|
||||
HiAdjustments,
|
||||
HiPlusCircle,
|
||||
HiCurrencyDollar,
|
||||
HiCash,
|
||||
HiClipboardList,
|
||||
HiHashtag,
|
||||
HiUsers,
|
||||
HiUserGroup,
|
||||
HiUserCircle,
|
||||
HiOutlineTruck,
|
||||
HiDatabase,
|
||||
HiShoppingBag,
|
||||
HiReceiptTax,
|
||||
HiHome,
|
||||
HiInboxIn,
|
||||
HiOutlineCash,
|
||||
HiOutlineTable
|
||||
} from "react-icons/hi";
|
||||
import { HiChartPie, HiUser, HiUsers, HiUserGroup } from 'react-icons/hi'
|
||||
|
||||
export default [
|
||||
{
|
||||
name: "Dashboard",
|
||||
name: 'Dashboard',
|
||||
show: true,
|
||||
icon: HiChartPie,
|
||||
route: route("dashboard"),
|
||||
active: "dashboard",
|
||||
permission: "view-dashboard",
|
||||
route: route('dashboard'),
|
||||
active: 'dashboard',
|
||||
permission: 'view-dashboard',
|
||||
},
|
||||
{
|
||||
name: "User",
|
||||
name: 'User',
|
||||
show: true,
|
||||
icon: HiUser,
|
||||
items: [
|
||||
{
|
||||
name: "Roles",
|
||||
name: 'Roles',
|
||||
show: true,
|
||||
icon: HiUserGroup,
|
||||
route: route("roles.index"),
|
||||
active: "roles.*",
|
||||
permission: "view-role",
|
||||
route: route('roles.index'),
|
||||
active: 'roles.*',
|
||||
permission: 'view-role',
|
||||
},
|
||||
{
|
||||
name: "Users",
|
||||
name: 'Users',
|
||||
show: true,
|
||||
icon: HiUsers,
|
||||
route: route("user.index"),
|
||||
active: "user.index",
|
||||
permission: "view-user",
|
||||
route: route('user.index'),
|
||||
active: 'user.index',
|
||||
permission: 'view-user',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
]
|
||||
|
@ -1,13 +1,17 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite'
|
||||
import laravel from 'laravel-vite-plugin'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
laravel({
|
||||
input: ["resources/css/app.css", "resources/js/app.jsx"],
|
||||
input: [
|
||||
'resources/css/app.css',
|
||||
'resources/js/app.jsx',
|
||||
'resources/js/admin.jsx',
|
||||
],
|
||||
refresh: true,
|
||||
}),
|
||||
react(),
|
||||
],
|
||||
});
|
||||
})
|
||||
|
Loading…
Reference in New Issue