Skip to content

Commit 9cc4b68

Browse files
committed
feat: add the vite publish command to publish the resources
1 parent b6b6ea8 commit 9cc4b68

13 files changed

Lines changed: 428 additions & 528 deletions

File tree

example/package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/vite-app/package-lock.json

Lines changed: 359 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/vite-app/providers/fastapi_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from fastapi import FastAPI
44
from starlette.templating import Jinja2Templates
55

6-
from fastapi_startkit.fastapi.providers import FastAPIProvider as BaseFastAPIProvider
6+
from fastapi_startkit.fastapi import FastAPIProvider as BaseFastAPIProvider
77

88

99
class FastAPIProvider(BaseFastAPIProvider):
@@ -23,4 +23,4 @@ def boot(self) -> None:
2323
super().boot()
2424

2525
from routes.web import web
26-
self.app.include_router(web)
26+
self.app.include_router(web)

example/vite-app/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "Vite + FastAPI example using fastapi-startkit"
55
requires-python = ">=3.12"
66
dependencies = [
7-
"fastapi-startkit[fastapi]",
7+
"fastapi-startkit[fastapi,vite]",
88
"jinja2>=3.1",
99
]
1010

example/vite-app/uv.lock

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)