How To Create A New Angular Dart Project On VS Code

209 Views Asked by At

I already installed Dart extension for VS Code and also tried ngdart but it isnt working So I pressed CTRL+SHIFT+P And picked > Dart: New Project

but there is no option for

Angular Dart Web App

only

Bare-Bones Web App

Console Application

Dart Package

Server App

3

There are 3 best solutions below

0
Timothy On BEST ANSWER

Use ngdart_cli

dart pub global activate ngdart_cli
ngdart create <package_name>
0
Petr Čech On

Since version 7.1.0 angular packages was renamed from angular_(package) to ng(package), so formerly CLI tool ngdart was renamed to ngdart_cli. More info in changelog info on pub.dev https://pub.dev/packages/ngdart/changelog#710.

0
zarul On

the angular_cli package and ngdart package are outdated use the ngdart_cli to create a new project using the command line