Closed h4xhor closed 5 years ago
$ pub global activate vue_cli $ vuedart create myproject
Note that using vuedart create my-project will fail at pub get with:
vuedart create my-project
pub get
Error on line 1, column 7 of pubspec.yaml: "name" field must be a valid Dart identifier. ╷ 1 │ name: my-project │
... so I had to get rid of the hyphen (you may want to update the official guide .
Next running $ webdev serve will error with:
$ webdev serve
[SEVERE]vue:vue on web/index.dart: RangeError: Offset may not be negative, was -1.
This is strange as the same steps worked for me before and the directory that was previously working still works. Thanks.
Note that using
vuedart create my-project
will fail atpub get
with:... so I had to get rid of the hyphen (you may want to update the official guide .
Next running
$ webdev serve
will error with:This is strange as the same steps worked for me before and the directory that was previously working still works. Thanks.