Skip to content
Snippets Groups Projects
Commit 9e67723a authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Modularise fractal config

This makes the fractal config reusable across the various ways we're looking to consume fractal; some freatures added/needed:
-  adds a callback so we can know when fractal has fully strapped and `fractal.components` is ready
- we can ask for a build or server instatation
- pass in where fractal should look for components

This means we'll be able to: `const vfFractalBuild = require('@visual-framework/vf-core/fractal.js).initialize('server',fractalReadyCallback);` in things ranging from Eleventy to child pattern libraries.
parent 2de898e3
No related branches found
No related tags found
No related merge requests found
Pipeline #16370 failed with stage
in 1 minute and 32 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment