如何在VS Code上设置AngularDart5 [英] How To Setup AngularDart5 on VS Code

查看:173
本文介绍了如何在VS Code上设置AngularDart5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在有关如何有效地在Visual Studio Code上设置Angular Dart 5的文档中进行了广泛搜索,但到目前为止没有发现任何结论。

I have searched far and wide on documentation on how to effectively set up Angular Dart 5 on Visual Studio Code but found nothing conclusive so far.

我去过的地方已搜索:


  • Youtube

  • StackOverflow

  • < a href = https://webdev.dartlang.org rel = noreferrer> https://webdev.dartlang.org -该文档仅讨论WebStorm。

  • Youtube
  • StackOverflow
  • https://webdev.dartlang.org - The documentation only talks about WebStorm.

用于dart的VS Code插件不提供创建新的空项目的功能。所以我现在很茫然。

The VS Code plugin for dart doesn't provide functionality to make a new empty project. So I'm currently at a loss.

我该如何在VS Code IDE上设置AngularDart 5项目?有人可以推荐我使用相同的资源吗?

How would I go about setting up an AngularDart 5 project on my VS Code IDE? Could someone refer me to resources for the same?

推荐答案

VS代码带有 Dart代码插件为编辑AngularDart项目文件提供了基本支持。

VS Code with the Dart Code plugin offers basic support for editing AngularDart project files.

对构建和运行应用程序的集成支持仍在进行中(使用 Dart-代码#68 来跟踪进度)。

Integrated support for building and running apps is still work in progress (use Dart-Code#68 to track progress).

我不知道创建 empty AngularDart 5项目的任何支持,但是您可以使用CLI工具创建入门项目,例如:

I don't know of any support to create an empty AngularDart 5 project, but you can use CLI tools to create starter projects, for example:

  • Create a starter project from angular-examples/quickstart.
  • Use stagehand 2.x to create a project from the web-angular template:
$ pub global activate stagehand
$ mkdir ng_project
$ cd ng_project
$ stagehand web-angular

模板还说明了角度组件

要构建和提供应用,请使用 webdev CLI工具:

To build and serve your app use the webdev CLI tool:

$ pub global activate webdev 
$ webdev serve

serve 命令将构建,提供和观看您的应用程序源。当然,您可以从VS Code集成终端中启动此命令。

The serve command will build, serve and watch your app sources. You can, of course, launch this command from within a VS Code integrated terminal.

这篇关于如何在VS Code上设置AngularDart5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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