fix: add ElConfigProvider css file (#2679)

This commit is contained in:
0song 2021-07-26 11:42:12 +08:00 committed by GitHub
parent 07106da33a
commit 243e2c47f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View File

@ -22,13 +22,13 @@ If your project is still using `Options API`, then we suggest you to use it this
</template> </template>
<script> <script>
import { ConfigProvider } from 'element-plus' import { ElConfigProvider } from 'element-plus'
import fr from 'element-plus/lib/locale/fr' import fr from 'element-plus/lib/locale/lang/fr'
defineComponent({ defineComponent({
components: { components: {
[ConfigProvider.name]: ConfigProvider, [ElConfigProvider.name]: ElConfigProvider,
}, },
data() { data() {
return { return {

View File

@ -24,13 +24,13 @@ If your project is still using `Options API`, then we suggest you to use it this
</template> </template>
<script> <script>
import { ConfigProvider } from 'element-plus' import { ElConfigProvider } from 'element-plus'
import es from 'element-plus/lib/locale/es' import es from 'element-plus/lib/locale/lang/es'
defineComponent({ defineComponent({
components: { components: {
[ConfigProvider.name]: ConfigProvider, [ElConfigProvider.name]: ElConfigProvider,
}, },
data() { data() {
return { return {

View File

@ -24,13 +24,13 @@ If your project is still using `Options API`, then we suggest you to use it this
</template> </template>
<script> <script>
import { ConfigProvider } from 'element-plus' import { ElConfigProvider } from 'element-plus'
import en from 'element-plus/lib/locale/en' import en from 'element-plus/lib/locale/lang/en'
defineComponent({ defineComponent({
components: { components: {
[ConfigProvider.name]: ConfigProvider, [ElConfigProvider.name]: ElConfigProvider,
}, },
data() { data() {
return { return {

View File

@ -22,13 +22,13 @@ If your project is still using `Options API`, then we suggest you to use it this
</template> </template>
<script> <script>
import { ConfigProvider } from 'element-plus' import { ElConfigProvider } from 'element-plus'
import ja from 'element-plus/lib/locale/ja' import ja from 'element-plus/lib/locale/lang/ja'
defineComponent({ defineComponent({
components: { components: {
[ConfigProvider.name]: ConfigProvider, [ElConfigProvider.name]: ElConfigProvider,
}, },
data() { data() {
return { return {

View File

@ -21,13 +21,13 @@ Element Plus 组件内部默认使用英语,若希望使用其他语言,则
</template> </template>
<script> <script>
import { ConfigProvider } from 'element-plus' import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/zh-cn' import zhCn from 'element-plus/lib/locale/lang/zh-cn'
defineComponent({ defineComponent({
components: { components: {
[ConfigProvider.name]: ConfigProvider, [ElConfigProvider.name]: ElConfigProvider,
}, },
data() { data() {
return { return {