Refactor and add generators for keystatic and package
The changes include refactoring the create-reader in cms keystatic and changing @keystatic/next version. Additionally, code generators for keystatic and package have been added, and corresponding templates have been organized into their respective directories.
This commit is contained in:
3
turbo/generators/templates/keystatic/route.ts.hbs
Normal file
3
turbo/generators/templates/keystatic/route.ts.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
import { keystaticRouteHandlers } from '@kit/keystatic/route-handler';
|
||||
|
||||
export const { POST, GET } = keystaticRouteHandlers;
|
||||
Reference in New Issue
Block a user