generator-spfx icon indicating copy to clipboard operation
generator-spfx copied to clipboard

Better control over project creation

Open StfBauer opened this issue 5 years ago • 9 comments

General Information

  • [x] Usage
  • [ ] Development
  • [ ] Documentation
  • [ ] Feature Request

For better project creation the current questioning of the generator will change in future. These questions allow better and fine-grained control over the project/solution creation and addition of new web parts, the assets in future.

  1. Target Platform (SP2016, 2019, SharePoint Online)
  2. Solution Name
  3. Framework
  4. Component (Web Part, Library, Extension, ...)
  5. Options (Vetting, Testing Frameworks, ...)

Please let us know if this order makes sense for you or if you have better ideas.

StfBauer avatar Apr 22 '20 07:04 StfBauer

Would adding other options at this level like "Teams Support" or even targeting Teams make sense where or is that a different generator? (should it be a different generator even?)

bigpix2000 avatar Apr 24 '20 12:04 bigpix2000

@bigpix2000 While the integration of the Teams generator would be easy to accomplish there are no current plans yet.

StfBauer avatar Apr 26 '20 08:04 StfBauer

sounds like a worthwhile effort perhaps @StfBauer ? ;-)

bigpix2000 avatar Apr 26 '20 11:04 bigpix2000

Understandable but and yes worth the effort but first things first. This restructure is the base plate to make future improvements in handling the generator to allow customisations like this.

StfBauer avatar Apr 26 '20 11:04 StfBauer

For now there does not seem to be other comments so I will put forth that this does make sense and is workable. Thanks!

bigpix2000 avatar May 22 '20 17:05 bigpix2000

Currently, there is a bit of a problem with the Microsoft generator that prevents optimisations like this. Will keep posted here.

StfBauer avatar May 23 '20 21:05 StfBauer

@StfBauer Do we have any generators with vuejs support for Teams web app? I am in a need to create a Tab application inside the Team, but using vuejs. Any help is really appreciated.

SibeeshVenu avatar Jun 22 '20 16:06 SibeeshVenu

@SibeeshVenu You can use any SPFx web part to run as a Teams App. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab

In this case, you can create it using the Yeoman generator and use VueJS.

StfBauer avatar Jun 23 '20 20:06 StfBauer

@StfBauer Thanks for the response. Actually I used a different approach already.

  1. Created a Team Tab app using JavaScript SDK
  2. Created a Vuejs App
  3. Connected both, as in the end, both are JavaScript

A detailed article is on the way. So, in this case, you are suggesting using generator-spfx to create a SharePoint web part in Vuejs and add it as a Team Tab app right? I may try this approach later, but for now, I guess I will stick to the approach I am using now.

SibeeshVenu avatar Jun 24 '20 06:06 SibeeshVenu