File tree Expand file tree Collapse file tree 3 files changed +23
-25
lines changed Expand file tree Collapse file tree 3 files changed +23
-25
lines changed Original file line number Diff line number Diff line change 8
8
"lint" : " vue-cli-service lint"
9
9
},
10
10
"dependencies" : {
11
- "@syncfusion/ej2-vue-dropdowns" : " ^17.3.27 " ,
12
- "core-js" : " ^3.3.2 " ,
13
- "vue" : " ^2.6.10 "
11
+ "@syncfusion/ej2-vue-dropdowns" : " ^27.2.2 " ,
12
+ "core-js" : " ^3.35.0 " ,
13
+ "vue" : " ^3.4.0 "
14
14
},
15
15
"devDependencies" : {
16
- "@vue/cli-plugin-babel" : " ^4.0.0" ,
17
- "@vue/cli-plugin-eslint" : " ^4.0.0" ,
18
- "@vue/cli-service" : " ^4.0.0" ,
19
- "babel-eslint" : " ^10.0.3" ,
20
- "eslint" : " ^5.16.0" ,
21
- "eslint-plugin-vue" : " ^5.0.0" ,
22
- "vue-template-compiler" : " ^2.6.10"
16
+ "@vue/cli-plugin-babel" : " ^5.0.8" ,
17
+ "@vue/cli-plugin-eslint" : " ^5.0.8" ,
18
+ "@vue/cli-service" : " ^5.0.8" ,
19
+ "@babel/eslint-parser" : " ^7.23.3" ,
20
+ "eslint" : " ^8.57.0" ,
21
+ "eslint-plugin-vue" : " ^9.19.2"
23
22
},
24
23
"eslintConfig" : {
25
24
"root" : true ,
26
25
"env" : {
27
26
"node" : true
28
27
},
29
28
"extends" : [
30
- " plugin:vue/essential" ,
29
+ " plugin:vue/vue3- essential" ,
31
30
" eslint:recommended"
32
31
],
33
32
"rules" : {},
34
33
"parserOptions" : {
35
- "parser" : " babel-eslint"
34
+ "parser" : " @babel/eslint-parser" ,
35
+ "requireConfigFile" : false
36
36
}
37
37
},
38
38
"postcss" : {
Original file line number Diff line number Diff line change 17
17
</template >
18
18
19
19
<script >
20
- import Vue from " vue" ;
21
- import { ComboBoxPlugin } from ' @syncfusion/ej2-vue-dropdowns' ;
20
+ import { ComboBoxComponent } from ' @syncfusion/ej2-vue-dropdowns' ;
22
21
import { Query } from " @syncfusion/ej2-data" ;
23
- Vue .use (ComboBoxPlugin);
24
22
25
- export default Vue .extend ({
26
- data : function () {
23
+ export default {
24
+ name: ' App' ,
25
+ components: {
26
+ ' ejs-combobox' : ComboBoxComponent
27
+ },
28
+ data () {
27
29
return {
28
30
enableCombobox: false ,
29
31
childDataQuery: null ,
@@ -41,12 +43,12 @@ export default Vue.extend({
41
43
};
42
44
},
43
45
methods: {
44
- onCountryChange : function (args ) {
46
+ onCountryChange (args ) {
45
47
this .enableCombobox = true ;
46
48
this .childDataQuery = new Query ().where (' CountryId' , ' equal' , args .value );
47
49
}
48
50
}
49
- }) ;
51
+ };
50
52
</script >
51
53
52
54
Original file line number Diff line number Diff line change 1
- import Vue from 'vue'
1
+ import { createApp } from 'vue'
2
2
import App from './App.vue'
3
3
4
- Vue . config . productionTip = false
5
-
6
- new Vue ( {
7
- render : h => h ( App ) ,
8
- } ) . $mount ( '#app' )
4
+ createApp ( App ) . mount ( '#app' )
You can’t perform that action at this time.
0 commit comments