Skip to content

Reference vs definition #2

@MartinMalinda

Description

@MartinMalinda

Hi @AshishKumar4

I understand the difference between reference and definition. But practically, for me it's easier to just put the entire template to the definition.

It seems like the vibesdk first loads the reference and includes it as is. The definition is then added in second step - but via LLM, reading it and writing it, if I understand it right.

For me, it's more convenient to put all the code in a reference and just have more references, if needed. It means some duplication but I can live with that.

The code is all pulled in in the first step and all the template code is together and I can cd there and npm run dev to develop it, which would otherwise be complicated if it's split into two places.

Am I losing anything significant if I go for this strategy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions