Crud create and variant category

This commit is contained in:
hamid zarghami
2025-09-21 14:30:13 +03:30
parent 1457afce0b
commit f731f8f73d
23 changed files with 903 additions and 29 deletions
+2
View File
@@ -9,6 +9,7 @@ import Create from '../pages/category/Create'
import List from '../pages/category/List'
import Update from '../pages/category/Update'
import { Pages } from '../config/Pages'
import Variant from '../pages/category/Variant'
const MainRouter: FC = () => {
@@ -30,6 +31,7 @@ const MainRouter: FC = () => {
<Route path={Pages.category.create} element={<Create />} />
<Route path={Pages.category.list} element={<List />} />
<Route path={`${Pages.category.update}:id`} element={<Update />} />
<Route path={`${Pages.category.variant}:id`} element={<Variant />} />
</Routes>
</div>
</div>