This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 11 files changed +23
-23
lines changed
11 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 1
1
_ * .js
2
2
node_modules
3
3
packages /cna-template /template /nuxt /pages /index.vue
4
- packages /cna-template /template /frameworks /iview /pages /index.vue
4
+ packages /cna-template /template /frameworks /view-ui /pages /index.vue
5
5
packages /cna-template /template /frameworks /jest /jest.config.js
Original file line number Diff line number Diff line change 1
1
node_modules
2
2
packages /cna-template /template /nuxt /pages /index.vue
3
- packages /cna-template /template /frameworks /iview /pages /index.vue
3
+ packages /cna-template /template /frameworks /view-ui /pages /index.vue
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ yarn create nuxt-app <my-project>
45
45
- [ Chakra UI] ( https://github.com/chakra-ui/chakra-ui-vue )
46
46
- [ Element] ( https://github.com/ElemeFE/element )
47
47
- [ Framevuerk] ( https://github.com/framevuerk/framevuerk )
48
- - [ iView ] ( https://www.iviewui.com/ )
48
+ - [ View UI ] ( https://www.iviewui.com/ )
49
49
- [ Tachyons] ( https://github.com/tachyons-css/tachyons )
50
50
- [ Tailwind CSS] ( https://github.com/tailwindcss/tailwindcss )
51
51
- [ Vuesax] ( https://github.com/lusaxweb/vuesax )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : {
3
- "iview " : " ^3.5.4 "
3
+ "view-design " : " ^4.0.0 "
4
4
}
5
5
}
Original file line number Diff line number Diff line change 6
6
<%= name %>
7
7
</h1 >
8
8
<h2 class =" subtitle" >
9
- Welcome to the iView + Nuxt.js template
9
+ Welcome to the View UI + Nuxt.js template
10
10
</h2 >
11
11
<div class =" links" >
12
12
<Button type =" primary" target =" _blank" rel =" noopener noreferrer" to =" https://nuxtjs.org/" >
16
16
GitHub
17
17
</Button >
18
18
<Button target =" _blank" rel =" noopener noreferrer" to =" https://www.iviewui.com/" >
19
- iView
19
+ View UI
20
20
</Button >
21
21
</div >
22
22
</div >
Original file line number Diff line number Diff line change
1
+ import Vue from 'vue'
2
+ import ViewUI from 'view-design'
3
+ import locale from 'view-design/dist/locale/en-US' // Change locale, check node_modules/view-design/dist/locale
4
+
5
+ Vue . use ( ViewUI , {
6
+ locale
7
+ } )
Original file line number Diff line number Diff line change 42
42
css : [
43
43
< % _ if ( ui = = = 'element-ui' ) { _ % >
44
44
'element-ui/lib/theme-chalk/index.css'
45
- < % _ } else if ( ui = = = 'iview ' ) { _ % >
46
- 'iview /dist/styles/iview.css'
45
+ < % _ } else if ( ui = = = 'view-ui ' ) { _ % >
46
+ 'view-design /dist/styles/iview.css'
47
47
< % _ } else if ( ui = = = 'ant-design-vue' ) { _ % >
48
48
'ant-design-vue/dist/antd.css'
49
49
< % _ } else if ( ui = = = 'balm-ui' ) { _ % >
61
61
plugins: [
62
62
< % _ if ( ui = = = 'element-ui' ) { _ % >
63
63
'@/plugins/element-ui'
64
- < % _ } else if ( ui = = = 'iview ' ) { _ % >
65
- '@/plugins/iview '
64
+ < % _ } else if ( ui = = = 'view-ui ' ) { _ % >
65
+ '@/plugins/view-ui '
66
66
< % _ } else if ( ui = = = 'ant-design-vue' ) { _ % >
67
67
'@/plugins/antd-ui'
68
68
< % _ } else if ( ui = = = 'balm-ui' ) { _ % >
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ module.exports = [
38
38
{ name : 'Chakra UI' , value : 'chakra-ui' } ,
39
39
{ name : 'Element' , value : 'element-ui' } ,
40
40
{ name : 'Framevuerk' , value : 'framevuerk' } ,
41
- { name : 'iView ' , value : 'iview ' } ,
41
+ { name : 'View UI ' , value : 'view-ui ' } ,
42
42
{ name : 'Tachyons' , value : 'tachyons' } ,
43
43
{ name : 'Tailwind CSS' , value : 'tailwind' } ,
44
44
{ name : 'Vuesax' , value : 'vuesax' } ,
Original file line number Diff line number Diff line change @@ -1160,7 +1160,7 @@ Generated by [AVA](https://avajs.dev).
1160
1160
}␊
1161
1161
`
1162
1162
1163
- ## verify ui: iView
1163
+ ## verify ui: View UI
1164
1164
1165
1165
> Generated files
1166
1166
@@ -1179,7 +1179,7 @@ Generated by [AVA](https://avajs.dev).
1179
1179
'pages/README.md',
1180
1180
'pages/index.vue',
1181
1181
'plugins/README.md',
1182
- 'plugins/iview .js',
1182
+ 'plugins/view-ui .js',
1183
1183
'static/README.md',
1184
1184
'static/favicon.ico',
1185
1185
'store/README.md',
@@ -1190,8 +1190,8 @@ Generated by [AVA](https://avajs.dev).
1190
1190
{
1191
1191
dependencies: {
1192
1192
'core-js': '^3.8.3',
1193
- iview: '^3.5.4',
1194
1193
nuxt: '^2.14.12',
1194
+ 'view-design': '^4.0.0',
1195
1195
},
1196
1196
devDependencies: {},
1197
1197
private: true,
@@ -1224,12 +1224,12 @@ Generated by [AVA](https://avajs.dev).
1224
1224
␊
1225
1225
// Global CSS: https://go.nuxtjs.dev/config-css␊
1226
1226
css: [␊
1227
- 'iview /dist/styles/iview.css'␊
1227
+ 'view-design /dist/styles/iview.css'␊
1228
1228
],␊
1229
1229
␊
1230
1230
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins␊
1231
1231
plugins: [␊
1232
- '@/plugins/iview '␊
1232
+ '@/plugins/view-ui '␊
1233
1233
],␊
1234
1234
␊
1235
1235
// Auto import components: https://go.nuxtjs.dev/config-components␊
You can’t perform that action at this time.
0 commit comments