Skip to content

Commit fc0ac7d

Browse files
committed
feat(app): added contentful creation
1 parent fcb40b7 commit fc0ac7d

File tree

5 files changed

+5969
-2201
lines changed

5 files changed

+5969
-2201
lines changed

core/contentful.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { ContentfulCollection, createClient } from 'contentful';
2+
3+
const Space = process.env.CONTENTFUL_SPACE;
4+
const Token = process.env.CONTENTFUL_TOKEN;
5+
6+
const client = createClient({
7+
space: Space,
8+
accessToken: Token,
9+
});

0 commit comments

Comments
 (0)