logo
Documentation
Via CLI
Type to start searching
    mgrsskls/miyagi
    • core/v3.4.11
    • 20
    • 3
    mgrsskls/miyagi
    • core/v3.4.11
    • 20
    • 3
    • Home
    • Installation
      • Default configuration
      • Available options
      • Via config file
      • Via CLI
      • Extending a template engine
      • Starting miyagi
      • Creating a component
      • Creating mock data
      • Linting mock data
      • Creating a build
      • Introduction
      • Assets
      • Documentation
      • Info
      • Mocks
      • Schema
      • Template
    • The UI
    • Supported template engines
    • JavaScript API
      • Adding JS files
      • Adding custom CSS and JS per component
      • Extending a template engine
      • Using dark and light mode
      • Theming the UI
      • Changing the text direction
      • Changing the HTML language attribute
      • Configuring the JSON Schema validator
      • Organizing components
      • Writing mock data
      • Linting mock data
      • Changing miyagi's port
      • Adding documentation
      • Creating a design token overview
      • Navigating through miyagi
    • VS Code extension

    Via CLI

    All available options can be set via command line.

    • You can use dot notation for the keys. That way you can also set complex values like objects for assets).
    • You can set an array as value by separating the values with a space.

    Example:

    miyagi start --engine.name twig --files.template.extension twig --assets.css.development css/index.css css/forms.css
    

    Note: If an option is passed as a CLI argument and defined in your .miyagi.js, the CLI argument is used.

    Previous Via config file
    Next Extending a template engine
    Made with Material for MkDocs