Generate Menu

sveltin generate menu

Generate the menu file for your Sveltin project.

Synopsis

Command used to generate the menu (menu.js.ts) file into the ‘config’ folder to be used by Svelte components.

By default it list all resources and public pages.

The --full flag will includes content names for all resources too.

Usage

sveltin generate menu [flags]

Flags

  -f, --full   Generate menu file including content names for all resources.
  -h, --help   help for menu

SEE ALSO

Last updated: 07-Feb-2023

Apache 2.0 License @ 2021-present Sveltin.io and contributors .

The Sveltin logos are copyright © Mirco Veltri.