Skip to content

How to use custom repo for SPFx templates? #247

@Adam-it

Description

@Adam-it

Description

I know there is this guidance https://github.com/SharePoint/spfx/blob/main/common/docs/creating-a-new-template.md
and the template style guide, but TBH it looks for me like AI generated with a lot of info, which in the end did not help me set up a new repo with my custom templates, which I think should be quite easy 😄.
I have this https://github.com/[Adam-it/spfx-templates](https://github.com/Adam-it/spfx-templates)

But when I try to use my repo either using --template-url option

Image

or pulling it locally and specifying it as --local-source

Image

it, as you can see in the screenshots, does not work.

My question is: how to set it up 🙂?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: documentationDocs that users/contributors needtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions