tiny-vue/examples/sites/demos/mobile/webdoc/introduce.md

24 lines
774 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 环境准备
TinyVue 是一个基于 `Vue` 的 UI 组件库,可以同时支持 `Vue 2.0``Vue 3.0`
浏览器兼容性 `TinyVue` 支持主流浏览器的最新版本Chrome、Edge、Firefox、Opera、Safari 不支持 IE 浏览器
### 安装 Node.js
推荐安装 `v16.13.0` 及以上版本,如果本地已经安装了 `Node.js`,可以通过以下命令检查版本是否正确:
```bash
node -v
```
### 安装 Yarn
管理 `npm` 包的工具主要有两种,一种是安装 `Node.js` 时自带的 `npm` ,另一种是速度更快的 `yarn`,通过以下命令安装:
```bash
npm install -g yarn
```
包管理器的选择 `yarn``npm` 建议只选择使用一种包管理器,以免在安装过程中出现无法升级依赖包等问题。