Doc/update link (#463)

* docs: update link

* chore: update

* chore: update

* chore: update
This commit is contained in:
zazzaz 2020-10-26 17:16:22 +08:00 committed by GitHub
parent b06352a43b
commit e01ae5f935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 42 additions and 42 deletions

View File

@ -3,10 +3,10 @@
<div class="container">
<div class="footer-main">
<h4>{{ langConfig.links }}</h4>
<a href="https://github.com/ElemeFE/element" class="footer-main-link" target="_blank">{{ langConfig.repo }}</a>
<a href="https://github.com/ElemeFE/element/releases" class="footer-main-link" target="_blank">{{ langConfig.changelog }}</a>
<a href="https://github.com/ElemeFE/element/blob/dev/FAQ.md" class="footer-main-link" target="_blank">{{ langConfig.faq }}</a>
<a href="https://github.com/ElementUI/element-starter" class="footer-main-link" target="_blank">{{ langConfig.starter }}</a>
<a href="https://github.com/element-plus/element-plus" class="footer-main-link" target="_blank">{{ langConfig.repo }}</a>
<a href="https://github.com/element-plus/element-plus/releases" class="footer-main-link" target="_blank">{{ langConfig.changelog }}</a>
<a href="https://github.com/element-plus/element-plus/blob/dev/FAQ.md" class="footer-main-link" target="_blank">{{ langConfig.faq }}</a>
<a href="https://github.com/element-plus/element-plus-starter" class="footer-main-link" target="_blank">{{ langConfig.starter }}</a>
<a :href="'/#/' + lang + '/component/custom-theme'" class="footer-main-link" target="_blank">{{ langConfig.theme }}</a>
<a href="https://github.com/elemefe/element-react" class="footer-main-link" target="_blank">Element-React</a>
<a href="https://github.com/ElemeFE/element-angular" class="footer-main-link" target="_blank">Element-Angular</a>

View File

@ -6,7 +6,7 @@
@mouseenter="isFade = false"
>
<ul>
<li class="nav-item sponsors">
<!-- <li class="nav-item sponsors">
<a>{{ lang === 'zh-CN' ? '赞助商' : 'Sponsors' }}</a>
<ul class="pure-menu-list sub-nav">
<li v-show="lang !== 'zh-CN'" class="nav-item">
@ -20,7 +20,7 @@
</a>
</li>
</ul>
</li>
</li> -->
<li
v-for="(item, keyy) in data"
:key="keyy"

View File

@ -108,11 +108,11 @@ et
Importing your own theme is just like importing the default theme, only this time you import the file built from "Online Theme Roller" or "CLI tool":
```javascript
import { createApp } from 'vue'
import '../theme/index.css'
import ElementUI from 'element-plus'
import Vue from 'vue'
import ElementPlus from 'element-plus'
Vue.use(ElementUI)
createApp(App).use(ElementPlus)
```
#### <strong>Import component theme on demand</strong>

View File

@ -3,11 +3,11 @@
The default language of Element Plus is Chinese. If you wish to use another language, you'll need to do some i18n configuration. In your entry file, if you are importing Element Plus entirely:
```javascript
import Vue from 'vue'
import ElementUI from 'element-plus'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/en'
Vue.use(ElementUI, { locale })
createApp(App).use(ElementPlus, { locale })
```
Or if you are importing Element Plus on demand:

View File

@ -2,13 +2,13 @@
This part walks you through the process of using Element Plus in a webpack project.
### Use vue-cli@3
### Use vue-cli@4.5
We provide an [Element Plus plugin](https://github.com/ElementUI/vue-cli-plugin-element) for vue-cli@3, which you can use to quickly build an Element-based project.
We provide an [Element Plus plugin](https://github.com/element-plus/vue-cli-plugin-element-plus) for vue-cli@4.5, which you can use to quickly build an Element-based project.
### Use Starter Kit
We provide a general [project template](https://github.com/ElementUI/element-starter) for you. For Laravel users, we also have a [template](https://github.com/ElementUI/element-in-laravel-starter). You can download and use them directly.
We provide a general [project template](https://github.com/element-plus/element-plus-starter) for you. For Laravel users, we also have a [template](https://github.com/element-plus/element-plus-in-laravel-starter). You can download and use them directly.
If you prefer not to use them, please read the following.

View File

@ -109,11 +109,11 @@ et
Importing your own theme is just like importing the default theme, only this time you import the file built from "Online Theme Roller" or "CLI tool":
```javascript
import { createApp } from 'vue'
import '../theme/index.css'
import ElementUI from 'element-plus'
import Vue from 'vue'
import ElementPlus from 'element-plus'
Vue.use(ElementUI)
createApp(App).use(ElementPlus)
```
#### <strong>Importar un tema de componente bajo demanda</strong>

View File

@ -3,11 +3,11 @@
El idioma predeterminado de Element Plus es el chino. Si se desea utilizar otro idioma, será necesario realizar alguna configuración de i18n. En su fichero de entrada, si está importando Element Plus por completo:
```javascript
import Vue from 'vue'
import ElementUI from 'element-plus'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/en'
Vue.use(ElementUI, { locale })
createApp(App).use(ElementPlus, { locale })
```
O si está importando Element Plus a petición:

View File

@ -2,13 +2,13 @@
Esta sección te guía en el proceso de usar Element Plus con webpack en un proyecto.
### Use vue-cli@3
### Use vue-cli@4.5
Proporcionamos un [plugin de Element](https://github.com/ElementUI/vue-cli-plugin-element) para vue-cli@3, que puede utilizar para construir rápidamente un proyecto basado en Element.
Proporcionamos un [plugin de Element](https://github.com/element-plus/vue-cli-plugin-element-plus) para vue-cli@4.5, que puede utilizar para construir rápidamente un proyecto basado en Element.
### Usa la plantilla de Kit de inicio
Proveemos una plantilla general [project template](https://github.com/ElementUI/element-starter). Para los usuarios de Laravel, también tenemos [template](https://github.com/ElementUI/element-in-laravel-starter). Puedes descargarlas y agregarlas directamente también.
Proveemos una plantilla general [project template](https://github.com/element-plus/element-plus-starter). Para los usuarios de Laravel, también tenemos [template](https://github.com/element-plus/element-plus-in-laravel-starter). Puedes descargarlas y agregarlas directamente también.
Si prefiere no utilizarlas, lee las siguientes secciones de este documento.

View File

@ -110,11 +110,11 @@ et
Importing your own theme is just like importing the default theme, only this time you import the file built from "Online Theme Roller" or "CLI tool":
```javascript
import { createApp } from 'vue'
import '../theme/index.css'
import ElementUI from 'element-plus'
import Vue from 'vue'
import ElementPlus from 'element-plus'
Vue.use(ElementUI)
createApp(App).use(ElementPlus)
```
#### <strong>Importer le thème d'un composant sur demande</strong>

View File

@ -3,11 +3,11 @@
La langue par défaut d'Element Plus est le Chinois. Si vous souhaitez utiliser une autre langue, il vous faudra la configurer. Par exemple, dans votre fichier d'entrée, si vous importez Element Plus entièrement:
```javascript
import Vue from 'vue'
import ElementUI from 'element-plus'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/en'
Vue.use(ElementUI, { locale })
createApp(App).use(ElementPlus, { locale })
```
Ou si vous importez Element Plus à la demande:

View File

@ -2,13 +2,13 @@
Cette page vous guidera tout le long de l'installation d'Element Plus au sein d'un projet webpack.
### Use vue-cli@3
### Use vue-cli@4.5
Nous fournissons un [plugin Element](https://github.com/ElementUI/vue-cli-plugin-element) pour vue-cli@3, que vous pouvez utiliser pour créer rapidement un projet basé sur Element.
Nous fournissons un [plugin Element](https://github.com/element-plus/vue-cli-plugin-element-plus) pour vue-cli@4.5, que vous pouvez utiliser pour créer rapidement un projet basé sur Element.
### Utiliser le Starter Kit
Nous fournissons un [template de projet](https://github.com/ElementUI/element-starter) pour débuter rapidement. Pour les utilisateurs Laravel, il est aussi possible d'utiliser ce [template](https://github.com/ElementUI/element-in-laravel-starter). VOus pouvez les télécharger directement.
Nous fournissons un [template de projet](https://github.com/element-plus/element-plus-starter) pour débuter rapidement. Pour les utilisateurs Laravel, il est aussi possible d'utiliser ce [template](https://github.com/element-plus/element-plus-in-laravel-starter). VOus pouvez les télécharger directement.
Si vous préférer vous passer de template, voyez la section suivante.

View File

@ -107,11 +107,11 @@ et
和引入默认主题一样,在代码里直接引用「在线主题编辑器」或「命令行工具」生成的主题的 `theme/index.css` 文件即可。
```javascript
import { createApp } from 'vue'
import '../theme/index.css'
import ElementUI from 'element-plus'
import Vue from 'vue'
import ElementPlus from 'element-plus'
Vue.use(ElementUI)
createApp(App).use(ElementPlus)
```
#### <strong>搭配插件按需引入组件主题</strong>

View File

@ -4,11 +4,11 @@ Element Plus 组件内部默认使用中文,若希望使用其他语言,则
```javascript
// 完整引入 Element
import Vue from 'vue'
import ElementUI from 'element-plus'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/lib/locale/lang/en'
Vue.use(ElementUI, { locale })
createApp(App).use(ElementPlus, { locale })
```

View File

@ -2,13 +2,13 @@
本节将介绍如何在项目中使用 Element。
### 使用 vue-cli@3
### 使用 vue-cli@4.5
我们为新版的 vue-cli 准备了相应的 [Element Plus 插件](https://github.com/ElementUI/vue-cli-plugin-element),你可以用它们快速地搭建一个基于 Element Plus 的项目。
我们为新版的 vue-cli 准备了相应的 [Element Plus 插件](https://github.com/element-plus/vue-cli-plugin-element-plus),你可以用它们快速地搭建一个基于 Element Plus 的项目。
### 使用 Starter Kit
我们提供了通用的[项目模板](https://github.com/ElementUI/element-starter),你可以直接使用。对于 Laravel 用户,我们也准备了相应的[模板](https://github.com/ElementUI/element-in-laravel-starter),同样可以直接下载使用。
我们提供了通用的[项目模板](https://github.com/element-plus/element-plus-starter),你可以直接使用。对于 Laravel 用户,我们也准备了相应的[模板](https://github.com/element-plus/element-plus-in-laravel-starter),同样可以直接下载使用。
如果不希望使用我们提供的模板,请继续阅读。