diff --git a/README.md b/README.md index 608787b..afba081 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,35 @@ -# create-cascading-dropdown-list-using-vue-dropdown-list -A quick start Vue project that helps you to learn how to create a Cascading Dropdown List using Vue Dropdown List of Syncfusion. +# Create a Cascading Dropdown List Using Vue Dropdown List + +Get a quick overview on how to create a Cascading Dropdown List using Vue Dropdown List of Syncfusion. You will learn how to add a series of Syncfusion Vue DropDown List to the Vue application. Also, you will see how to populate the data source of second DropDown List based on the value selected from the first DropDown List. + +Example: https://ej2.syncfusion.com/vue/demos/#/material/drop-down-list/cascading.html + +Documentation: https://ej2.syncfusion.com/vue/documentation/drop-down-list/how-to/cascading + + +## Project pre-requisites +Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project. + +## How to run this application? +To run this application, you need to first clone the `create-a-cascading-dropdown-list-using-vue-dropdown-list` 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/create-a-cascading-dropdown-list-using-vue-dropdown-list dropdownlist-component +cd dropdownlist-component +``` + +## Installing +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 +``` + +## Running on development server +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. + +## Further help + +To get more help on the vue CLI use go check out the [Vue-Cli README](https://github.com/vuejs/vue-cli/blob/master/README.md). \ No newline at end of file diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..51b0e83 --- /dev/null +++ b/package.json @@ -0,0 +1,48 @@ +{ + "name": "dropdownlist-component", + "version": "0.1.0", + "private": true, + "scripts": { + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint" + }, + "dependencies": { + "@syncfusion/ej2-vue-buttons": "^17.3.27", + "@syncfusion/ej2-vue-dropdowns": "^17.3.21", + "core-js": "^3.3.2", + "vue": "^2.6.10" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "^4.0.0", + "@vue/cli-plugin-eslint": "^4.0.0", + "@vue/cli-service": "^4.0.0", + "babel-eslint": "^10.0.3", + "eslint": "^5.16.0", + "eslint-plugin-vue": "^5.0.0", + "vue-template-compiler": "^2.6.10" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "rules": {}, + "parserOptions": { + "parser": "babel-eslint" + } + }, + "postcss": { + "plugins": { + "autoprefixer": {} + } + }, + "browserslist": [ + "> 1%", + "last 2 versions" + ] +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..62e610b --- /dev/null +++ b/public/index.html @@ -0,0 +1,17 @@ + + +
+ + + + +
+ For a guide and recipes on how to configure / customize this project,
+ check out the
+ vue-cli documentation.
+