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 88 "lint" : " vue-cli-service lint"
99 },
1010 "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 "
1414 },
1515 "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"
2322 },
2423 "eslintConfig" : {
2524 "root" : true ,
2625 "env" : {
2726 "node" : true
2827 },
2928 "extends" : [
30- " plugin:vue/essential" ,
29+ " plugin:vue/vue3- essential" ,
3130 " eslint:recommended"
3231 ],
3332 "rules" : {},
3433 "parserOptions" : {
35- "parser" : " babel-eslint"
34+ "parser" : " @babel/eslint-parser" ,
35+ "requireConfigFile" : false
3636 }
3737 },
3838 "postcss" : {
Original file line number Diff line number Diff line change 1717</template >
1818
1919<script >
20- import Vue from " vue" ;
21- import { ComboBoxPlugin } from ' @syncfusion/ej2-vue-dropdowns' ;
20+ import { ComboBoxComponent } from ' @syncfusion/ej2-vue-dropdowns' ;
2221import { Query } from " @syncfusion/ej2-data" ;
23- Vue .use (ComboBoxPlugin);
2422
25- export default Vue .extend ({
26- data : function () {
23+ export default {
24+ name: ' App' ,
25+ components: {
26+ ' ejs-combobox' : ComboBoxComponent
27+ },
28+ data () {
2729 return {
2830 enableCombobox: false ,
2931 childDataQuery: null ,
@@ -41,12 +43,12 @@ export default Vue.extend({
4143 };
4244 },
4345 methods: {
44- onCountryChange : function (args ) {
46+ onCountryChange (args ) {
4547 this .enableCombobox = true ;
4648 this .childDataQuery = new Query ().where (' CountryId' , ' equal' , args .value );
4749 }
4850 }
49- }) ;
51+ };
5052 </script >
5153
5254
Original file line number Diff line number Diff line change 1- import Vue from 'vue'
1+ import { createApp } from 'vue'
22import App from './App.vue'
33
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