如何在Visual Studio中使用React + TypseScript创建Office加载项? [英] How to create an Office add-in using React + TypseScript in Visual Studio?

查看:133
本文介绍了如何在Visual Studio中使用React + TypseScript创建Office加载项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我要在Visual Studio中创建一个新项目,则它生成的加载项模板基于JavaScript并使用JQuery框架,但是我想使用React创建一个加载项(因此我可以使用Fabric UI(用于react的用户界面)和Typescript,是否可以执行此操作?

If I go to create a new project in Visual Studio, the add-in template it generates is based on JavaScript and uses JQuery framework, but I'd like to create an add-in using React (so I can use Fabric UI for react) and Typescript, is there an option for doing that?

我知道,如果我可以使用Visual Code和Node创建这样的项目,则'yo office'可以选择为许多不同类型的加载项生成模板,但是我在Visual中找不到此选项工作室.

I know that if I can use Visual Code and Node to create a project like this, 'yo office' has the option to generate a template for many different types of add-ins, but I found no option for this in Visual Studio.

推荐答案

Visual Studio中的Office工具没有该选项,但这是一个好主意!请转到 Office开发人员用户语音并提出建议.

The Office Tools in Visual Studio do not have that option, but it's a great idea! Please go to Office Developer User Voice and suggest it.

这篇关于如何在Visual Studio中使用React + TypseScript创建Office加载项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆