Skip to content

Commit 0558038

Browse files
committed
init
0 parents  commit 0558038

10 files changed

+5888
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 基于EarthSDK创建的极简App
2+
3+
## 简介
4+
5+
基于webpack,创建一个简单的基于EarthSDK的App,可以进行调试和打包。
6+
7+
## 使用方法
8+
9+
0. 安装
10+
npm install
11+
12+
1. 调试
13+
npm run dev
14+
15+
2. 打包
16+
npm run build
17+
18+

index.html

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="zh-CN">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<meta name="xbsj-labels" content="Earth起步"></meta>
9+
<title>创建地球</title>
10+
<!-- 0 引入js文件 -->
11+
<script src="./XbsjEarth/XbsjEarth.js"></script>
12+
<style>
13+
html,
14+
body {
15+
width: 100%;
16+
height: 100%;
17+
margin: 0px;
18+
padding: 0px;
19+
}
20+
</style>
21+
</head>
22+
23+
<body>
24+
<div id="earthContainer" style="width: 100%; height: 100%; background: grey">
25+
</div>
26+
<script src="./main.js"></script>
27+
</body>
28+
29+
</html>

0 commit comments

Comments
 (0)