pagex: add support for directly passing fragments in fragment()
voidcannon: reflect latest change content: reflect latest change
This commit is contained in:
2
pagex
2
pagex
Submodule pagex updated: d4fbbc31e8...e696c68ca6
@@ -10,7 +10,7 @@ export default {
|
|||||||
path: "dist",
|
path: "dist",
|
||||||
static: "_"
|
static: "_"
|
||||||
},
|
},
|
||||||
pagex_content: {
|
resources: {
|
||||||
content: "./src/",
|
content: "./src/",
|
||||||
templates: "./voidcannon/src/",
|
templates: "./voidcannon/src/",
|
||||||
client: {
|
client: {
|
||||||
|
|||||||
@@ -3,13 +3,7 @@ import {
|
|||||||
VoidcannonSectionType
|
VoidcannonSectionType
|
||||||
} from "voidcannon";
|
} from "voidcannon";
|
||||||
|
|
||||||
import {PagexResourceTransformer} from "pagex";
|
import NotFoundFragment from "voidcannon/src/fragments/notfound/NotFound.fragment.js";
|
||||||
import CollectionContentTransformer from "voidcannon/src/transformers/CollectionContent.transformer.js";
|
|
||||||
import RecentContentTransformer from "voidcannon/src/transformers/RecentContent.transformer.js";
|
|
||||||
import ContentByIdentifierTransformer from "voidcannon/src/transformers/ContentByIdentifier.transformer.js";
|
|
||||||
import playground from "../../articles/playground/playground.pagex.js";
|
|
||||||
import playgroundP3 from "../../articles/playground-p3/playground-p3.pagex.js";
|
|
||||||
import playgroundTotk from "../../articles/playground-totk/playground-totk.pagex.js";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
type: VoidcannonContentType.EDITORIAL,
|
type: VoidcannonContentType.EDITORIAL,
|
||||||
@@ -21,7 +15,7 @@ export default {
|
|||||||
sections: [
|
sections: [
|
||||||
{
|
{
|
||||||
type: VoidcannonSectionType.FRAGMENT,
|
type: VoidcannonSectionType.FRAGMENT,
|
||||||
fragment: "fragments/notfound/NotFound",
|
fragment: NotFoundFragment,
|
||||||
params: {}
|
params: {}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Submodule voidcannon updated: d0132ce8bf...c36e93daef
Reference in New Issue
Block a user