├── .gitignore ├── README.md ├── babel.config.js ├── package-lock.json ├── package.json ├── public ├── favicon.ico └── index.html ├── src ├── App.vue ├── assets │ ├── logo.png │ └── logo.svg ├── components │ ├── AddTutorial.vue │ ├── Tutorial.vue │ └── TutorialsList.vue ├── http-common.js ├── main.js ├── plugins │ └── vuetify.js ├── router.js └── services │ └── TutorialDataService.js └── vue.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vuetify data-table example with CRUD App | v-data-table 2 | 3 | For more detail, please visit: 4 | > [Vuetify data-table example with CRUD App](https://bezkoder.com/vuetify-data-table-example/) 5 | 6 | More Practice: 7 | > [Vuetify Pagination (Server Side) example](https://bezkoder.com/vuetify-pagination-server-side/) 8 | 9 | > [Vuetify File upload example](https://bezkoder.com/vuetify-file-upload/) 10 | 11 | Using Bootstrap instead: 12 | > [Vue.js CRUD App with Vue Router & Axios](https://bezkoder.com/vue-js-crud-app/) 13 | 14 | > [Vue Pagination with Axios and API (Server Side pagination) example](https://bezkoder.com/vue-pagination-axios/) 15 | 16 | Server side Pagination for this app: 17 | 18 | > [Server side Pagination in Node.js with Sequelize and MySQL](https://bezkoder.com/node-js-sequelize-pagination-mysql/) 19 | 20 | > [Spring Boot Pagination and Filter example](https://bezkoder.com/spring-boot-pagination-filter-jpa-pageable/) 21 | 22 | Fullstack with Node.js Express: 23 | > [Vue.js + Node.js Express + MySQL](https://bezkoder.com/vue-js-node-js-express-mysql-crud-example/) 24 | 25 | > [Vue.js + Node.js Express + PostgreSQL](https://bezkoder.com/vue-node-express-postgresql/) 26 | 27 | > [Vue.js + Node.js Express + MongoDB](https://bezkoder.com/vue-node-express-mongodb-mevn-crud/) 28 | 29 | Fullstack with Spring Boot: 30 | > [Vue.js + Spring Boot](https://bezkoder.com/spring-boot-vue-js-crud-example/) 31 | 32 | > [Vue.js + Spring Boot + MongoDB](https://bezkoder.com/spring-boot-vue-mongodb/) 33 | 34 | Fullstack with Django: 35 | > [Vue.js + Django](https://bezkoder.com/django-vue-js-rest-framework/) 36 | 37 | ## Project setup 38 | ``` 39 | npm install 40 | ``` 41 | 42 | ### Compiles and hot-reloads for development 43 | ``` 44 | npm run serve 45 | ``` 46 | 47 | ### Compiles and minifies for production 48 | ``` 49 | npm run build 50 | ``` 51 | 52 | ### Run your tests 53 | ``` 54 | npm run test 55 | ``` 56 | 57 | ### Lints and fixes files 58 | ``` 59 | npm run lint 60 | ``` 61 | 62 | ### Customize configuration 63 | See [Configuration Reference](https://cli.vuejs.org/config/). 64 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuetify-data-table-example", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve", 7 | "build": "vue-cli-service build", 8 | "lint": "vue-cli-service lint" 9 | }, 10 | "dependencies": { 11 | "axios": "^0.20.0", 12 | "core-js": "^3.6.5", 13 | "vue": "^2.6.11", 14 | "vue-router": "^3.4.3", 15 | "vuetify": "^2.2.11" 16 | }, 17 | "devDependencies": { 18 | "@vue/cli-plugin-babel": "^4.5.0", 19 | "@vue/cli-plugin-eslint": "^4.5.0", 20 | "@vue/cli-service": "^4.5.0", 21 | "babel-eslint": "^10.1.0", 22 | "eslint": "^6.7.2", 23 | "eslint-plugin-vue": "^6.2.2", 24 | "sass": "^1.19.0", 25 | "sass-loader": "^8.0.0", 26 | "vue-cli-plugin-vuetify": "^2.0.7", 27 | "vue-template-compiler": "^2.6.11", 28 | "vuetify-loader": "^1.3.0" 29 | }, 30 | "eslintConfig": { 31 | "root": true, 32 | "env": { 33 | "node": true 34 | }, 35 | "extends": [ 36 | "plugin:vue/essential", 37 | "eslint:recommended" 38 | ], 39 | "parserOptions": { 40 | "parser": "babel-eslint" 41 | }, 42 | "rules": {} 43 | }, 44 | "browserslist": [ 45 | "> 1%", 46 | "last 2 versions", 47 | "not dead" 48 | ] 49 | } 50 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/vuetify-data-table-example/abd37e1affa3f2dc2c061a9881339c7cb4c163ce/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |Add Tutorial
4 | 5 |Edit Tutorial
4 | 5 |{{ message }}
49 |Please click on a Tutorial...
53 |