mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix web size test for new world (#34063)
This commit is contained in:
parent
b847ba5a63
commit
4c0145d97b
@ -239,7 +239,7 @@ class WebCompileTest {
|
||||
rmTree(sampleDir);
|
||||
|
||||
await inDirectory<void>(Directory.systemTemp, () async {
|
||||
await flutter('create', options: <String>['--template=app', sampleAppName]);
|
||||
await flutter('create', options: <String>['--template=app', '--web', sampleAppName]);
|
||||
await inDirectory(sampleDir, () async {
|
||||
await flutter('packages', options: <String>['get']);
|
||||
await evalFlutter('build', options: <String>[
|
||||
|
12
examples/hello_world/web/index.html
Normal file
12
examples/hello_world/web/index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
Use of this source code is governed by a BSD-style license that can be
|
||||
found in the LICENSE file. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello, World</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="main.dart.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user