From fa0164e2953f44beb8a7bc0fb5dd21c8074a56f8 Mon Sep 17 00:00:00 2001 From: cpongo2 Date: Mon, 17 Oct 2022 08:42:10 +0000 Subject: [PATCH] update --- README.md | 14 ++++++++++++++ index.html | 7 ++++++- package.json | 4 ---- src/logo.svg | 10 ++++++++++ src/style.css | 6 ++++++ 5 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 README.md create mode 100644 src/logo.svg create mode 100644 src/style.css diff --git a/README.md b/README.md new file mode 100644 index 0000000..b16fdaf --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# 适用于 Cloud IDE 的前端模板 + +> 适用于 HTML5 小应用、小游戏等快速预览静态前端项目的工程。 + +## 特性 +- 自动安装 +- 自动打开预览 +- 热更新 + +## 说明 +1. 根目录放置 `index.html` 文件; +2. 默认已经在 `preview.yml` 中配置了自动化,初始会自动安装依赖并启动预览; +3. 也可以通过 `npm i` 手动安装依赖; +4. 也可以通过 `npm run dev` 手动启动预览。 \ No newline at end of file diff --git a/index.html b/index.html index 130313d..c126492 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,13 @@ Document + - Hello World +
+ +

欢迎使用 Cloud IDE

+ 官网:https://ide.csdn.net +
\ No newline at end of file diff --git a/package.json b/package.json index 276e8b6..52ac895 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,6 @@ "scripts": { "dev": "live-server" }, - "repository": { - "type": "git", - "url": "git@gitcode.net:cloud-ide/template-html.git" - }, "author": "Aresn", "license": "MIT", "dependencies": { diff --git a/src/logo.svg b/src/logo.svg new file mode 100644 index 0000000..8139659 --- /dev/null +++ b/src/logo.svg @@ -0,0 +1,10 @@ + + + 开发云logo备份@40x + + + + + + + \ No newline at end of file diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..004b70a --- /dev/null +++ b/src/style.css @@ -0,0 +1,6 @@ +.app{ + text-align: center; +} +.app img{ + margin-top: 32px; +} \ No newline at end of file -- GitLab