Home > Enterprise >  Create / launch preact project from Visual Studio 2022
Create / launch preact project from Visual Studio 2022

Time:04-22

I have a Visual Studio with several projects inside of it (APIs, etc).

I want to add a Preact project to this solution, so I'm available to launch all of them at the same time.

How can I make a Preact project using Visual Studio 2022? I can generate a React project, but is it possible to do the same for a Preact one?

If so, how do I have to do it?

CodePudding user response:

Visual Studio has no menu item for creating a Preact project, no. You can create one using whatever tools you'd like (preact-cli or wmr are potential first-party options, but you're free to use whatever you'd like) and then you can add the run/build configurations to your IDE, same as any Node script.

  • Related