feat working on vendor views.

This commit is contained in:
2025-01-16 08:02:13 -05:00
parent 6f2e87e886
commit d4a8444700
8 changed files with 239 additions and 132 deletions

View File

@@ -8,9 +8,10 @@ import VaporElementary
func routes(_ app: Application) throws {
try app.register(collection: ApiController())
try app.register(collection: UserViewController())
try app.register(collection: VendorViewController())
// try app.register(collection: ViewController())
app.get("test") { _ in
app.get { _ in
HTMLResponse {
MainPage(displayNav: false, route: .purchaseOrders) {
div(.class("container")) {