Skip to content

Add TOML schema to Dioxus.toml templates #5376

@Max-H-0

Description

@Max-H-0

I've had to do some digging while trying to correctly configure the CLI, since I didn't know all the options.
I just stumbled on this TOML schema; I haven't used it a lot but the additional Tombi suggestions appear to be very useful.

Wouldn't it make sense to include the schema (as shown) in the Dioxus.toml templates by default?
#:schema https://raw.githubusercontent.com/DioxusLabs/dioxus/main/packages/cli/schema.json

I'm fairly new to the Rust/TOML ecosystem, so appologies if this is a dumb request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions