Learn how easily you can create and configure the Syncfusion Vue ComboBox using Vue CLI. You will see how to populate JSON data and remote data sources to the ComboBox, how to sort the data source, and how to set a custom height and width for the ComboBox pop-up.
Documentation Link: https://ej2.syncfusion.com/vue/documentation/combo-box/getting-started
Demo Link: https://ej2.syncfusion.com/vue/demos/#/material/combo-box/default.html
Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project.
To run this application, you need to first clone the create-a-vue-combo-box-component-using-vue-cli
repository and then navigate to its appropriate path where it has been located in your system.
To do so, open the command prompt and run the below commands one after the other.
git clone https://github.com/SyncfusionExamples/creata-a-vue-combo-box-component-using-vue-cli combo-box
cd combo-box
Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install
command will install all the needed Vue packages into your current project and to do so, run the below command.
npm install
Run npm run serve
command for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
To get more help on the vue CLI use go check out the Vue-Cli README.