-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Editor webapp-template could include more required files #3678
Comments
This comment was originally written by sammcca...@google.com (The latter is particularly annoying because renaming the HTML file crashes the editor, but that's a different bug...) |
Removed Type-Defect label. |
Do you know, is there a bug for this? |
This comment was originally written by sammcca...@google.com Oops, assumed this was well known, as I haven't used the editor for months and this was the first thing that happened :-) |
Added this to the Later milestone. |
Set owner to @devoncarew. |
We prettified the sample app that the wizard creates and added a css file. We decided to keep the name of the html file foo.html instead of index.html. The user would have several web apps in their workspace all w/ index.html as their entry points, and selecting an app from the manage launches dialog (for instance) could be confusing. Added Fixed label. |
Changes: ``` > git log --format="%C(auto) %h %s" 4fd2051..21aa23f https://dart.googlesource.com/pub.git/+/21aa23f1 Revert "Create output folder if it doesn't exist in the precompiler (#3676)" (#3677) https://dart.googlesource.com/pub.git/+/04f7bce8 Don't consider resolution outdated in dev-releases (#3678) https://dart.googlesource.com/pub.git/+/74473e12 Create output folder if it doesn't exist in the precompiler (#3676) https://dart.googlesource.com/pub.git/+/5bfd68b1 Avoid .incremental.dill.incremental.dill in temporary file name (#3675) https://dart.googlesource.com/pub.git/+/c3870bc1 Unskip test (#3671) ``` Diff: https://dart.googlesource.com/pub.git/+/4fd2051bb8060ea2f2e02b13dfeb2f793d197994..21aa23f148a428ae4dd97a27ecc70b08c1328089/ Change-Id: Ie5060563cc3f96b0bc52e542f7a7b19d17fefd8f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/273223 Reviewed-by: Jonas Jensen <jonasfj@google.com> Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
This issue was originally filed by sammcca...@google.com
Creating a new web application in the editor is a nice quick start, but it's missing some things you'll need, e.g. css file and pubspec.
Additionally the html file is '<appname>.html' when the entrypoint is almost universally index.html.
I'd find this most useful:
pubspec.yaml
index.html
appname.dart
styles.css
The text was updated successfully, but these errors were encountered: