Start renaming
This commit is contained in:
@@ -11,7 +11,7 @@ in `vite.config.ts`). When you add a new file there, it will register a new
|
||||
route automatically.
|
||||
|
||||
```ts main.ts
|
||||
import { App, staticFiles } from "fresh";
|
||||
import { App, staticFiles } from "sweet";
|
||||
|
||||
const app = new App({ basePath: "/foo" })
|
||||
.use(staticFiles())
|
||||
@@ -85,7 +85,7 @@ A custom [URL pattern][urlpattern] can be specified in the route configuration.
|
||||
This pattern will be used instead of the file path based pattern:
|
||||
|
||||
```ts routes/my-route.ts
|
||||
import { RouteConfig } from "fresh";
|
||||
import { RouteConfig } from "sweet";
|
||||
|
||||
export const config: RouteConfig = {
|
||||
routeOverride: "/x/:module@:version/:path*",
|
||||
|
||||
Reference in New Issue
Block a user