Framework Guides
Eleventy
Deploy an Eleventy (11ty) site to Sample.app.
Eleventy outputs to _site/ by default.
Deploy
Deploy to Sample.app
samplex deploy ./_siteEleventy outputs to _site/, which is not auto-detected by the CLI. You must specify the
directory explicitly.
Custom output directory
You can change the output directory to one that the CLI auto-detects:
module.exports = function (eleventyConfig) {
return {
dir: {
output: "dist",
},
};
};Then run:
samplex deploy
