kpmy 10 vuotta sitten
commit
58dff870c4
8 muutettua tiedostoa jossa 81 lisäystä ja 0 poistoa
  1. 7 0
      .gitignore
  2. 5 0
      CHANGELOG.md
  3. 13 0
      LICENSE
  4. 3 0
      README.md
  5. 10 0
      pubspec.yaml
  6. 26 0
      web/index.html
  7. 8 0
      web/main.dart
  8. 9 0
      web/styles/main.css

+ 7 - 0
.gitignore

@@ -0,0 +1,7 @@
+.buildlog
+.DS_Store
+.idea
+.pub/
+build/
+packages
+pubspec.lock

+ 5 - 0
CHANGELOG.md

@@ -0,0 +1,5 @@
+# Changelog
+
+## 0.0.1
+
+- Initial version, created by Stagehand

+ 13 - 0
LICENSE

@@ -0,0 +1,13 @@
+           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                   Version 2, December 2004
+
+Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+Everyone is permitted to copy and distribute verbatim or modified
+copies of this license document, and changing it is allowed as long
+as the name is changed.
+
+           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.

+ 3 - 0
README.md

@@ -0,0 +1,3 @@
+# Uber-simple web app
+
+Generated by Stagehand. See LICENSE.

+ 10 - 0
pubspec.yaml

@@ -0,0 +1,10 @@
+name: 'chi'
+version: 0.0.1
+description: >
+  An absolute bare-bones web app.
+#author: <your name> <email@example.com>
+#homepage: https://www.example.com
+environment:
+  sdk: '>=1.0.0 <2.0.0'
+dependencies:
+  browser: any

+ 26 - 0
web/index.html

@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+
+<!--
+  Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
+  is governed by a BSD-style license that can be found in the LICENSE file.
+-->
+
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="scaffolded-by" content="https://github.com/google/stagehand">
+    <title>chi</title>
+
+    <link rel="stylesheet" href="styles/main.css">
+</head>
+
+<body>
+
+  <div id="output"></div>
+
+<script type="application/dart" src="main.dart"></script>
+<script data-pub-inline src="packages/browser/dart.js"></script>
+</body>
+</html>

+ 8 - 0
web/main.dart

@@ -0,0 +1,8 @@
+// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
+// is governed by a BSD-style license that can be found in the LICENSE file.
+
+import 'dart:html';
+
+void main() {
+  querySelector('#output').text = 'Your Dart app is running.';
+}

+ 9 - 0
web/styles/main.css

@@ -0,0 +1,9 @@
+@import url(https://fonts.googleapis.com/css?family=Roboto);
+
+html, body {
+    width: 100%;
+    height: 100%;
+    margin: 0;
+    padding: 0;
+    font-family: 'Roboto', sans-serif;
+}