Closed pomber closed 3 years ago
My bad. The customSetup
uses Sandpack's file names, so it should start with a slash:
const steps = useMdxSteps(
children,
{
preset: {
customSetup: {
files: {
'/public/index.html': `...`,
},
},
},
},
)
Instead of
/public/index.html
,/publicindex.html
is created.