mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs: separate compatibility md
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
"text": "Navigation",
|
||||
"link": "/guide/nav"
|
||||
},
|
||||
{
|
||||
"text": "Compatibility",
|
||||
"link": "/guide/compatibility"
|
||||
},
|
||||
{
|
||||
"text": "Installation",
|
||||
"link": "/guide/installation"
|
||||
|
||||
37
docs/en-US/guide/compatibility.md
Normal file
37
docs/en-US/guide/compatibility.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: Compatibility
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Compatibility ^(2.5.0)
|
||||
|
||||
### Browsers
|
||||
|
||||
If you really need to support outdated browsers, please add [Babel](https://babeljs.io/) and Polyfill yourself.
|
||||
|
||||
Since Vue 3 no longer supports IE11, Element Plus does not support IE either.
|
||||
|
||||
| version |  <br> Chrome |  <br> Edge |  <br> Firefox |  <br> Safari |
|
||||
| ------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||
| < 2.5.0 | Chrome ≥ 64 | Edge ≥ 79 | Firefox ≥ 78 | Safari ≥ 12 |
|
||||
| 2.5.0 + | Chrome ≥ 85 | Edge ≥ 85 | Firefox ≥ 79 | Safari ≥ 14.1 |
|
||||
|
||||
### Sass
|
||||
|
||||
Version `2.8.5` and later, the minimum compatible version of [Sass](https://github.com/sass) is `1.79.0`.
|
||||
|
||||
If your terminal prompts `legacy JS API Deprecation Warning`, you can configure the following code in [vite.config.ts](https://vitejs.dev/config/shared-options.html#css-preprocessoroptions).
|
||||
|
||||
```ts{3}
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: { api: 'modern-compiler' },
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Version
|
||||
|
||||
Element Plus is currently in a rapid development iteration. [](https://www.npmjs.org/package/element-plus)
|
||||
|
||||
In addition, every commit and PR on the dev branch will be published to [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new), if you want to use some unpublished content, you can refer to [here](https://github.com/element-plus/element-plus/issues/18433#issuecomment-2392618431).
|
||||
@@ -5,39 +5,6 @@ lang: en-US
|
||||
|
||||
# Installation
|
||||
|
||||
## Compatibility ^(2.5.0)
|
||||
|
||||
Element Plus can run on browsers that support last 2 versions.
|
||||
|
||||
If you really need to support outdated browsers, please add [Babel](https://babeljs.io/) and Polyfill yourself.
|
||||
|
||||
Since Vue 3 no longer supports IE11, Element Plus does not support IE either.
|
||||
|
||||
| version |  <br> Chrome |  <br> Edge |  <br> Firefox |  <br> Safari |
|
||||
| ------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||
| < 2.5.0 | Chrome ≥ 64 | Edge ≥ 79 | Firefox ≥ 78 | Safari ≥ 12 |
|
||||
| 2.5.0 + | Chrome ≥ 85 | Edge ≥ 85 | Firefox ≥ 79 | Safari ≥ 14.1 |
|
||||
|
||||
### Sass
|
||||
|
||||
Version `2.8.5` and later, the minimum compatible version of [Sass](https://github.com/sass) is `1.79.0`.
|
||||
|
||||
If your terminal prompts `legacy JS API Deprecation Warning`, you can configure the following code in [vite.config.ts](https://vitejs.dev/config/shared-options.html#css-preprocessoroptions).
|
||||
|
||||
```ts{3}
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: { api: 'modern-compiler' },
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Version
|
||||
|
||||
Element Plus is currently in a rapid development iteration. [](https://www.npmjs.org/package/element-plus)
|
||||
|
||||
In addition, every commit and PR on the dev branch will be published to [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new), if you want to use some unpublished content, you can refer to [here](https://github.com/element-plus/element-plus/issues/18433#issuecomment-2392618431).
|
||||
|
||||
## Using Package Manager
|
||||
|
||||
**We recommend using the package manager (NPM, [Yarn](https://classic.yarnpkg.com/lang/en/), [pnpm](https://pnpm.io/)) to install Element Plus**,
|
||||
|
||||
Reference in New Issue
Block a user