0

I've created a new Sharepoint project with a HelloWorld web part using Yeoman in Visual Studio Code.

Now I want to add another web part to that project.

How do I add a web part using the same template in the src/webparts directory?

1 Answer 1

2

Oh well,

It couldn't get any simplier.

All I have to do is to call yo @microsoft/sharepoint once again in the existing project.

Sign up to request clarification or add additional context in comments.

1 Comment

That is correct, but be aware that config.json could overwrite changes you made when running the generator again, keep an eye on those changes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.