@codemonster-ru/create-vue-ssg
v2.0.7
Published
Scaffold a Codemonster SSG project.
Maintainers
Readme
@codemonster-ru/create-vue-ssg
Scaffold command for Codemonster SSG projects.
Usage
npm create @codemonster-ru/vue-ssg@latest my-docsMarkdown content is loaded from content/**/*.md in the generated project.
Docs Template Sync Policy
apps/demois the source of truth for thedocstemplate shell.- Before publishing
@codemonster-ru/create-vue-ssg, sync demo changes into the template:
node scripts/sync-docs-template.mjs- CI enforces this policy and fails when the synced output differs.
Options
--template <name>: template to use (defaultordocs)default: minimal starter templatedocs: full docs shell matchingapps/demo--force: allow scaffolding into a non-empty target directory
For the docs template package cards, you can set a custom landing page in each
content/packages/<slug>/metadata.json via landingPath (for example,
"landingPath": "getting-started").
Examples:
npm create @codemonster-ru/vue-ssg@latest my-docs -- --template default
npm create @codemonster-ru/vue-ssg@latest my-docs -- --template docs
npm create @codemonster-ru/vue-ssg@latest my-docs -- --force