mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix: add ElConfigProvider css file (#2679)
This commit is contained in:
parent
07106da33a
commit
243e2c47f8
0
packages/theme-chalk/src/config-provider.scss
Normal file
0
packages/theme-chalk/src/config-provider.scss
Normal 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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user