From f5d064353f0c78832e5bc0577b2342555f2b1e65 Mon Sep 17 00:00:00 2001 From: gitee-bot Date: Thu, 18 Sep 2025 07:32:43 +0000 Subject: [PATCH] Add README.md --- README.en.md | 42 ++++++++++++++++++++++++++++++++++++++++++ README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 README.en.md create mode 100644 README.md diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..568cb53 --- /dev/null +++ b/README.en.md @@ -0,0 +1,42 @@ +# Vue3 Train Sample Project + +This is a simple sample project based on Vue 3, designed to help developers quickly get started with the basic usage of Vue 3. The project contains several simple HTML pages demonstrating the fundamental features of Vue 3. + +## Project Structure + +- `pages/el-button.html`: A simple button interaction example created using Vue 3. +- `pages/el-table.html`: A table display example created using Vue 3. +- `pages/vue3.html`: A basic Vue 3 sample page demonstrating how to bind data and render lists. +- `pages/js/vue/3.2.36/vue.global.min.js`: The global build version of Vue 3, used for directly using Vue in the browser. + +## How to Run + +1. Make sure you have installed a local HTTP server, such as [http-server](https://www.npmjs.com/package/http-server) or other similar tools. +2. Run the HTTP server in the project root directory: + ```bash + npx http-server + ``` +3. Open your browser and visit one of the following links: + - [el-button Example](http://localhost:8080/pages/el-button.html) + - [el-table Example](http://localhost:8080/pages/el-table.html) + - [Vue3 Basic Example](http://localhost:8080/pages/vue3.html) + +## Technology Stack + +- HTML +- JavaScript +- Vue 3 (imported via `vue.global.min.js`) + +## Contribution Guide + +Contributions or suggestions for improvement are welcome! Please follow these steps: + +1. Fork this repository. +2. Create a new branch (`git checkout -b feature/new-feature`) +3. Commit your changes (`git commit -m 'Add new feature'`) +4. Push to the remote branch (`git push origin feature/new-feature`) +5. Create a Pull Request + +## License + +This project is licensed under the MIT License. For details, please refer to the [LICENSE](LICENSE) file. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..c62a680 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# Vue3 Train 示例项目 + +这是一个基于 Vue 3 的简单示例项目,旨在帮助开发者快速入门 Vue 3 的基本使用。该项目包含几个简单的 HTML 页面,演示了 Vue 3 的基础功能。 + +## 项目结构 + +- `pages/el-button.html`: 使用 Vue 3 创建的简单按钮交互示例。 +- `pages/el-table.html`: 使用 Vue 3 创建的表格展示示例。 +- `pages/vue3.html`: 一个基础的 Vue 3 示例页面,展示如何绑定数据和渲染列表。 +- `pages/js/vue/3.2.36/vue.global.min.js`: Vue 3 的全局构建版本,用于在浏览器中直接使用 Vue。 + +## 如何运行 + +1. 确保你已经安装了一个本地的 HTTP 服务器,例如 [http-server](https://www.npmjs.com/package/http-server) 或其他类似的工具。 +2. 在项目根目录下运行 HTTP 服务器: + ```bash + npx http-server + ``` +3. 打开浏览器并访问以下链接之一: + - [el-button 示例](http://localhost:8080/pages/el-button.html) + - [el-table 示例](http://localhost:8080/pages/el-table.html) + - [Vue3 基础示例](http://localhost:8080/pages/vue3.html) + +## 技术栈 + +- HTML +- JavaScript +- Vue 3 (通过 `vue.global.min.js` 引入) + +## 贡献指南 + +欢迎贡献代码或提出改进建议!请遵循以下步骤: + +1. Fork 本仓库。 +2. 创建新分支 (`git checkout -b feature/new-feature`) +3. 提交更改 (`git commit -m 'Add new feature'`) +4. 推送至远程分支 (`git push origin feature/new-feature`) +5. 创建 Pull Request + +## 许可证 + +本项目遵循 MIT 许可证。详情请查看 [LICENSE](LICENSE) 文件。 \ No newline at end of file -- Gitee