-
Notifications
You must be signed in to change notification settings - Fork 5
/
frontity.settings.ts
42 lines (40 loc) · 997 Bytes
/
frontity.settings.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { Settings } from "frontity/types";
import Source from "@frontity/source/types";
import WooCommerce from "woocommerce-poc/types";
import WooCommerceTheme from "woocommerce-theme/types";
const settings: Settings<Source | WooCommerce | WooCommerceTheme> = {
name: "woocommerce-poc",
state: {
frontity: {
url: "https://woocommerce.frontity.org",
title: "WooCommerce & Frontity",
description: "A proof of concept of Frontity and WooCommerce together",
},
},
packages: [
{
name: "woocommerce-theme",
state: {
theme: {
menu: [
["Home", "/"],
["Shop", "/shop/"],
],
autoPrefetch: "in-view",
},
},
},
{
name: "@frontity/wp-source",
state: {
source: {
url: "https://woocommerce.frontity.org",
},
},
},
"@frontity/tiny-router",
"@frontity/html2react",
"woocommerce-poc",
],
};
export default settings;