create attribute

This commit is contained in:
hamid zarghami
2026-01-25 09:40:41 +03:30
parent 5fad34cc84
commit a37a7191dd
9 changed files with 165 additions and 12 deletions
+2
View File
@@ -29,6 +29,7 @@ import CategoryList from '@/pages/product/category/List'
import CreateCategory from '@/pages/product/category/Create'
import UpdateCategory from '@/pages/product/category/Update'
import UpdateProduct from '@/pages/product/Update'
import CreateAttribute from '@/pages/product/attribute/Create'
const MainRouter: FC = () => {
return (
@@ -49,6 +50,7 @@ const MainRouter: FC = () => {
<Route path={Paths.product.list} element={<ProductList />} />
<Route path={Paths.product.create} element={<CreateProduct />} />
<Route path={Paths.product.update + ':id'} element={<UpdateProduct />} />
<Route path={Paths.product.attribute.create + ':id'} element={<CreateAttribute />} />
<Route path={Paths.product.category.list} element={<CategoryList />} />
<Route path={Paths.product.category.create} element={<CreateCategory />} />
<Route path={Paths.product.category.update + ':id'} element={<UpdateCategory />} />