├── .gitignore ├── book_vue ├── public │ ├── favicon.ico │ └── index.html ├── src │ ├── assets │ │ └── logo.png │ ├── views │ │ ├── About.vue │ │ ├── Four.vue │ │ ├── Home.vue │ │ ├── AddBook.vue │ │ ├── BookManage.vue │ │ └── BookUpdate.vue │ ├── plugins │ │ ├── element.js │ │ └── axios.js │ ├── Index.vue │ ├── store │ │ └── index.js │ ├── main.js │ ├── router │ │ └── index.js │ ├── components │ │ └── HelloWorld.vue │ └── App.vue ├── babel.config.js ├── vue.config.js ├── .gitignore ├── README.md └── package.json ├── book_java ├── src │ ├── main │ │ ├── resources │ │ │ ├── static │ │ │ │ ├── favicon.ico │ │ │ │ ├── fonts │ │ │ │ │ ├── element-icons.535877f5.woff │ │ │ │ │ └── element-icons.732389de.ttf │ │ │ │ ├── css │ │ │ │ │ └── app.031cb077.css │ │ │ │ ├── index.html │ │ │ │ └── js │ │ │ │ │ └── app.22ec5a32.js │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── xn2001 │ │ │ └── vuetest │ │ │ ├── repository │ │ │ └── BookRepository.java │ │ │ ├── BookApplication.java │ │ │ ├── entity │ │ │ └── Book.java │ │ │ ├── config │ │ │ └── CrosConfig.java │ │ │ └── controller │ │ │ └── BookHandler.java │ └── test │ │ └── java │ │ └── com │ │ └── xn2001 │ │ └── vuetest │ │ ├── VuetestApplicationTests.java │ │ └── repository │ │ └── BookRepositoryTest.java ├── .gitignore ├── pom.xml ├── mvnw.cmd └── mvnw ├── README.md └── book.sql /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | /book_java/target/ 3 | -------------------------------------------------------------------------------- /book_vue/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lexinhu/booksmall/HEAD/book_vue/public/favicon.ico -------------------------------------------------------------------------------- /book_vue/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lexinhu/booksmall/HEAD/book_vue/src/assets/logo.png -------------------------------------------------------------------------------- /book_vue/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /book_vue/src/views/About.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is an about page 4 | 5 | 6 | -------------------------------------------------------------------------------- /book_java/src/main/resources/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lexinhu/booksmall/HEAD/book_java/src/main/resources/static/favicon.ico -------------------------------------------------------------------------------- /book_vue/vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | publicPath: './', 3 | productionSourceMap: false, 4 | 5 | css: { 6 | loaderOptions: {} 7 | } 8 | } -------------------------------------------------------------------------------- /book_vue/src/plugins/element.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Element from 'element-ui' 3 | import 'element-ui/lib/theme-chalk/index.css' 4 | 5 | Vue.use(Element) 6 | -------------------------------------------------------------------------------- /book_java/src/main/resources/static/fonts/element-icons.535877f5.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lexinhu/booksmall/HEAD/book_java/src/main/resources/static/fonts/element-icons.535877f5.woff -------------------------------------------------------------------------------- /book_java/src/main/resources/static/fonts/element-icons.732389de.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lexinhu/booksmall/HEAD/book_java/src/main/resources/static/fonts/element-icons.732389de.ttf -------------------------------------------------------------------------------- /book_vue/src/Index.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /book_vue/src/views/Four.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 这是页面四 4 | 5 | 6 | 7 | 12 | 13 | 15 | -------------------------------------------------------------------------------- /book_vue/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | Vue.use(Vuex) 5 | 6 | export default new Vuex.Store({ 7 | state: { 8 | }, 9 | mutations: { 10 | }, 11 | actions: { 12 | }, 13 | modules: { 14 | } 15 | }) 16 | -------------------------------------------------------------------------------- /book_vue/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | *.sw? 22 | -------------------------------------------------------------------------------- /book_java/src/test/java/com/xn2001/vuetest/VuetestApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class VuetestApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /book_vue/README.md: -------------------------------------------------------------------------------- 1 | # Vue相关命令 2 | 3 | ## Project setup 4 | ``` 5 | yarn install 6 | ``` 7 | 8 | ### Compiles and hot-reloads for development 9 | ``` 10 | yarn serve 11 | ``` 12 | 13 | ### Compiles and minifies for production 14 | ``` 15 | yarn build 16 | ``` 17 | 18 | ### Customize configuration 19 | See [Configuration Reference](https://cli.vuejs.org/config/). 20 | -------------------------------------------------------------------------------- /book_java/src/main/java/com/xn2001/vuetest/repository/BookRepository.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest.repository; 2 | 3 | import com.xn2001.vuetest.entity.Book; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | 6 | /** 7 | * Created by 乐心湖 on 2020/3/2 0:12 8 | */ 9 | public interface BookRepository extends JpaRepository { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /book_vue/src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 19 | -------------------------------------------------------------------------------- /book_java/src/main/java/com/xn2001/vuetest/BookApplication.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class BookApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(BookApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /book_java/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9999 3 | 4 | spring: 5 | datasource: 6 | url: jdbc:mysql://localhost:3306/book?characterEncoding=UTF-8&useSSL=true&serverTimezone=UTC 7 | username: root 8 | password: 123456 9 | driver-class-name: com.mysql.cj.jdbc.Driver 10 | 11 | #开启jpa的sql打印 12 | # jpa: 13 | # show-sql: true 14 | # properties: 15 | # hibernate: 16 | # format_sql: true 17 | 18 | -------------------------------------------------------------------------------- /book_vue/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import './plugins/axios' 3 | import App from './App.vue' 4 | import router from './router' 5 | import store from './store' 6 | import './plugins/element.js' 7 | 8 | Vue.config.productionTip = false 9 | 10 | new Vue({ 11 | router, 12 | store, 13 | render: h => h(App) 14 | }).$mount('#app') 15 | 16 | 17 | router.beforeEach((to, from, next) => { 18 | /* 路由发生变化修改页面title */ 19 | if (to.meta.title) { 20 | document.title = to.meta.title 21 | } 22 | next() 23 | }) 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # 微型图书管理系统 3 | 4 | ## 技术栈: 5 | 6 | SpringBoot, 7 | Vue CLI3, 8 | element UI 9 | 10 | ## 用途 11 | 12 | 一套完整的增删改查,适合初学者克隆学习并长期增强维护。(前端代码打包后继承在了SpringBoot中) 13 | 14 | ## 安装 15 | 16 | 需要一个叫做book的数据库,sql我已经上传在根目录, 17 | 自行导入,修改application.yml中的数据库连接配置。 18 | 19 | 克隆后直接运行BookApplication,访问localhost:9999 20 | 21 | ## 代码 22 | 23 | book_java:SpringBoot相关代码,结构简单易懂。 24 | static中的前端代码是打包而成,不可以直接查看的。 25 | 26 | book_vue:Vue相关代码都在这里,需要你执行yarn install 27 | 这个命令是安装所需要的依赖。 28 | 29 | ## 效果展示 30 | 31 |  32 | -------------------------------------------------------------------------------- /book_java/src/main/resources/static/css/app.031cb077.css: -------------------------------------------------------------------------------- 1 | .el-header{background-color:#b3c0d1;color:#333;text-align:center;line-height:60px}a{text-decoration:none;color:#252133}#app,#index,.el-container,body,html{padding:0;margin:0;height:100%}.el-footer{text-align:center;background-color:#cbced1;line-height:60px}.el-aside{background-color:#d3dce6;color:#333;text-align:center;line-height:200px}body>.el-container{margin-bottom:40px}.el-container:nth-child(5) .el-aside,.el-container:nth-child(6) .el-aside{line-height:260px}.el-container:nth-child(7) .el-aside{line-height:320px} -------------------------------------------------------------------------------- /book_java/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | .gitignore 33 | book_java/src/main/resources/static/ 34 | book_java/src/main/resources/templates/ 35 | -------------------------------------------------------------------------------- /book_java/src/main/java/com/xn2001/vuetest/entity/Book.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest.entity; 2 | 3 | import lombok.Data; 4 | 5 | import javax.persistence.Entity; 6 | import javax.persistence.GeneratedValue; 7 | import javax.persistence.GenerationType; 8 | import javax.persistence.Id; 9 | 10 | /** 11 | * Created by 乐心湖 on 2020/3/2 0:09 12 | */ 13 | @Entity 14 | @Data 15 | public class Book { 16 | @Id 17 | @GeneratedValue(strategy = GenerationType.IDENTITY) 18 | private Integer id; 19 | private String name; 20 | private String author; 21 | private String publish; 22 | } 23 | -------------------------------------------------------------------------------- /book_vue/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 欢迎来到图书管理系统 9 | 10 | 11 | 12 | We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue. 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /book_java/src/main/java/com/xn2001/vuetest/config/CrosConfig.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest.config; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.CorsRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class CrosConfig implements WebMvcConfigurer { 9 | 10 | @Override 11 | public void addCorsMappings(CorsRegistry registry) { 12 | registry.addMapping("/**") 13 | .allowedOrigins("*") 14 | .allowedMethods("*") //允许任何方法(post、get等 15 | .allowCredentials(true) 16 | .maxAge(3600) 17 | .allowedHeaders("*"); //允许跨域的域名,可以用*表示允许任何域名使用 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /book_java/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 欢迎来到图书管理系统We're sorry but eldemo doesn't work properly without JavaScript enabled. Please enable it to continue. -------------------------------------------------------------------------------- /book_vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eldemo", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve", 7 | "build": "vue-cli-service build" 8 | }, 9 | "dependencies": { 10 | "core-js": "^3.6.4", 11 | "element-ui": "^2.4.5", 12 | "vue": "^2.6.11", 13 | "vue-router": "^3.1.6", 14 | "vuex": "^3.1.3" 15 | }, 16 | "devDependencies": { 17 | "@vue/cli-plugin-babel": "~4.3.0", 18 | "@vue/cli-plugin-router": "~4.3.0", 19 | "@vue/cli-plugin-vuex": "~4.3.0", 20 | "@vue/cli-service": "~4.3.0", 21 | "axios": "^0.18.0", 22 | "vue-cli-plugin-axios": "^0.0.4", 23 | "vue-cli-plugin-element": "^1.0.1", 24 | "vue-template-compiler": "^2.6.11" 25 | }, 26 | "browserslist": [ 27 | "> 1%", 28 | "last 2 versions", 29 | "not dead" 30 | ] 31 | } 32 | -------------------------------------------------------------------------------- /book_vue/src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import VueRouter from 'vue-router' 3 | import BookManage from '../views/BookManage' 4 | import AddBook from '../views/AddBook' 5 | import BookUpdate from '../views/BookUpdate' 6 | import Index from '../Index.vue' 7 | 8 | Vue.use(VueRouter) 9 | 10 | const routes = [{ 11 | path: '/', 12 | name: '图书展示系统', 13 | redirect: '/BookManage', 14 | meta: { 15 | title: '欢迎来到图书管理系统' 16 | }, 17 | show: true, 18 | component: Index, 19 | children: [{ 20 | path: '/BookManage', 21 | name: '查询图书', 22 | // show: true, 23 | meta: { 24 | title: '图书列表信息' 25 | }, 26 | component: BookManage 27 | }, 28 | { 29 | path: '/AddBook', 30 | name: '添加图书', 31 | // show: true, 32 | meta: { 33 | title: '添加图书' 34 | }, 35 | component: AddBook 36 | }, 37 | ] 38 | }, 39 | { 40 | path: '/BookUpdate', 41 | component: BookUpdate, 42 | name: '修改图书信息', 43 | show: false, 44 | meta: { 45 | title: '修改图书信息' 46 | } 47 | } 48 | ] 49 | 50 | const router = new VueRouter({ 51 | routes 52 | 53 | }) 54 | 55 | export default router -------------------------------------------------------------------------------- /book_java/src/test/java/com/xn2001/vuetest/repository/BookRepositoryTest.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest.repository; 2 | 3 | import com.xn2001.vuetest.entity.Book; 4 | import org.junit.jupiter.api.Test; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.boot.test.context.SpringBootTest; 7 | import org.springframework.data.domain.Page; 8 | import org.springframework.data.domain.PageRequest; 9 | 10 | import static org.junit.jupiter.api.Assertions.*; 11 | 12 | /** 13 | * Created by 乐心湖 on 2020/3/2 0:13 14 | */ 15 | @SpringBootTest 16 | class BookRepositoryTest { 17 | 18 | @Autowired 19 | private BookRepository bookRepository; 20 | 21 | @Test 22 | void findAll(){ 23 | System.out.println(bookRepository.findAll()); 24 | } 25 | 26 | @Test 27 | void contextLoads(){ 28 | PageRequest pageRequest = PageRequest.of(0, 5); 29 | Page page = bookRepository.findAll(pageRequest); 30 | } 31 | 32 | @Test 33 | void sava(){ 34 | Book book = new Book(); 35 | book.setName("时间的秩序"); 36 | book.setAuthor(" [意] 卡洛·罗韦利"); 37 | book.setPublish("湖南科学技术出版社"); 38 | Book book1 = bookRepository.save(book); 39 | System.out.println(book1); 40 | } 41 | 42 | @Test 43 | void findById(){ 44 | System.out.println(bookRepository.findById(1).get()); 45 | } 46 | } -------------------------------------------------------------------------------- /book_vue/src/plugins/axios.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import Vue from 'vue'; 4 | import axios from "axios"; 5 | 6 | // Full config: https://github.com/axios/axios#request-config 7 | // axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || ''; 8 | // axios.defaults.headers.common['Authorization'] = AUTH_TOKEN; 9 | // axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; 10 | 11 | let config = { 12 | // baseURL: process.env.baseURL || process.env.apiUrl || "" 13 | // timeout: 60 * 1000, // Timeout 14 | // withCredentials: true, // Check cross-site Access-Control 15 | }; 16 | 17 | const _axios = axios.create(config); 18 | 19 | _axios.interceptors.request.use( 20 | function(config) { 21 | // Do something before request is sent 22 | return config; 23 | }, 24 | function(error) { 25 | // Do something with request error 26 | return Promise.reject(error); 27 | } 28 | ); 29 | 30 | // Add a response interceptor 31 | _axios.interceptors.response.use( 32 | function(response) { 33 | // Do something with response data 34 | return response; 35 | }, 36 | function(error) { 37 | // Do something with response error 38 | return Promise.reject(error); 39 | } 40 | ); 41 | 42 | Plugin.install = function(Vue, options) { 43 | Vue.axios = _axios; 44 | window.axios = _axios; 45 | Object.defineProperties(Vue.prototype, { 46 | axios: { 47 | get() { 48 | return _axios; 49 | } 50 | }, 51 | $axios: { 52 | get() { 53 | return _axios; 54 | } 55 | }, 56 | }); 57 | }; 58 | 59 | Vue.use(Plugin) 60 | 61 | export default Plugin; 62 | -------------------------------------------------------------------------------- /book_java/src/main/java/com/xn2001/vuetest/controller/BookHandler.java: -------------------------------------------------------------------------------- 1 | package com.xn2001.vuetest.controller; 2 | 3 | import com.xn2001.vuetest.entity.Book; 4 | import com.xn2001.vuetest.repository.BookRepository; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.data.domain.Page; 7 | import org.springframework.data.domain.PageRequest; 8 | import org.springframework.web.bind.annotation.*; 9 | 10 | /** 11 | * Created by 乐心湖 on 2020/3/2 0:21 12 | */ 13 | @CrossOrigin 14 | @RestController 15 | @RequestMapping("/book") 16 | public class BookHandler { 17 | 18 | @Autowired 19 | private BookRepository bookRepository; 20 | 21 | @GetMapping("/findAll/{page}/{size}") 22 | public Page findAll(@PathVariable("page") Integer page, @PathVariable("size") Integer size){ 23 | PageRequest pageRequest = PageRequest.of(page, size); 24 | return bookRepository.findAll(pageRequest); 25 | } 26 | 27 | @GetMapping("/findById/{id}") 28 | public Book findById(@PathVariable Integer id){ 29 | return bookRepository.findById(id).get(); 30 | } 31 | 32 | @PostMapping("/save") 33 | public String save(@RequestBody Book book){ 34 | Book result = bookRepository.save(book); 35 | if (result != null){ 36 | return "success"; 37 | }else{ 38 | return "error"; 39 | } 40 | } 41 | 42 | @PutMapping("/update") 43 | public String upate(@RequestBody Book book){ 44 | Book result = bookRepository.save(book); 45 | if (result != null){ 46 | return "success"; 47 | }else{ 48 | return "error"; 49 | } 50 | } 51 | 52 | @DeleteMapping("/delete/{id}") 53 | public void delete(@PathVariable Integer id){ 54 | bookRepository.deleteById(id); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /book.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat Premium Data Transfer 3 | 4 | Source Server : localhost_3306 5 | Source Server Type : MySQL 6 | Source Server Version : 80018 7 | Source Host : localhost:3306 8 | Source Schema : book 9 | 10 | Target Server Type : MySQL 11 | Target Server Version : 80018 12 | File Encoding : 65001 13 | 14 | Date: 16/04/2020 00:38:11 15 | */ 16 | 17 | SET NAMES utf8mb4; 18 | SET FOREIGN_KEY_CHECKS = 0; 19 | 20 | -- ---------------------------- 21 | -- Table structure for book 22 | -- ---------------------------- 23 | DROP TABLE IF EXISTS `book`; 24 | CREATE TABLE `book` ( 25 | `id` int(10) NOT NULL AUTO_INCREMENT, 26 | `name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, 27 | `author` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, 28 | `publish` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, 29 | PRIMARY KEY (`id`) USING BTREE 30 | ) ENGINE = InnoDB AUTO_INCREMENT = 124 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; 31 | 32 | -- ---------------------------- 33 | -- Records of book 34 | -- ---------------------------- 35 | INSERT INTO `book` VALUES (1, '解忧杂货店', '东野圭吾', '电子工业出版社'); 36 | INSERT INTO `book` VALUES (2, '追风筝的人', '卡勒德·胡赛尼', '中信出版社'); 37 | INSERT INTO `book` VALUES (3, '人间失格', '太宰治', '作家出版社'); 38 | INSERT INTO `book` VALUES (4, '这就是二十四节气', '高春香', '电子工业出版社'); 39 | INSERT INTO `book` VALUES (5, '白夜行', '东野圭吾', '南海出版公司'); 40 | INSERT INTO `book` VALUES (6, '摆渡人', '克莱儿·麦克福尔', '百花洲文艺出版社'); 41 | INSERT INTO `book` VALUES (7, '暖暖心绘本', '米拦弗特毕', '湖南少儿出版社'); 42 | INSERT INTO `book` VALUES (8, '天才在左疯子在右', '高铭', '北京联合出版公司'); 43 | INSERT INTO `book` VALUES (9, '我们仨', '杨绛', '生活.读书.新知三联书店'); 44 | INSERT INTO `book` VALUES (10, '活着', '余华', '作家出版社'); 45 | INSERT INTO `book` VALUES (119, '时间的秩序', ' [意] 卡洛·罗韦利', '湖南科学技术出版社'); 46 | INSERT INTO `book` VALUES (120, '偷影子的人', ' [法] 马克·李维', '湖南文艺出版社'); 47 | INSERT INTO `book` VALUES (121, '在路上', '(美) 杰克·凯鲁亚克', '人民文学出版社'); 48 | INSERT INTO `book` VALUES (122, '呼吸', ' [美] 特德·姜', '译林出版社'); 49 | INSERT INTO `book` VALUES (123, '书店日记', '[英] 肖恩·白塞尔', '广西师范大学出版社'); 50 | 51 | SET FOREIGN_KEY_CHECKS = 1; 52 | -------------------------------------------------------------------------------- /book_vue/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ msg }} 4 | 5 | For a guide and recipes on how to configure / customize this project, 6 | check out the 7 | vue-cli documentation. 8 | 9 | Installed CLI Plugins 10 | 11 | babel 12 | router 13 | vuex 14 | 15 | Essential Links 16 | 17 | Core Docs 18 | Forum 19 | Community Chat 20 | Twitter 21 | News 22 | 23 | Ecosystem 24 | 25 | vue-router 26 | vuex 27 | vue-devtools 28 | vue-loader 29 | awesome-vue 30 | 31 | 32 | 33 | 34 | 42 | 43 | 44 | 60 | -------------------------------------------------------------------------------- /book_vue/src/views/AddBook.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 立即创建 21 | 重置 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /book_vue/src/App.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 欢迎来到心湖图书 5 | 6 | 7 | 8 | 15 | 16 | 17 | {{item.name}} 18 | 19 | 20 | 26 | 27 | {{item2.name}} 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 粤 ICP备18132513号 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 95 | 96 | -------------------------------------------------------------------------------- /book_java/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | org.springframework.boot 7 | spring-boot-starter-parent 8 | 2.2.5.RELEASE 9 | 10 | 11 | com.xn2001 12 | book_java 13 | 0.0.1-SNAPSHOT 14 | book_java 15 | book project for Spring Boot 16 | 17 | 18 | 1.8 19 | 20 | 21 | 22 | 23 | org.springframework.boot 24 | spring-boot-starter-data-jpa 25 | 26 | 27 | org.springframework.boot 28 | spring-boot-starter-web 29 | 30 | 31 | 32 | mysql 33 | mysql-connector-java 34 | runtime 35 | 36 | 37 | org.projectlombok 38 | lombok 39 | true 40 | 41 | 42 | org.springframework.boot 43 | spring-boot-starter-test 44 | test 45 | 46 | 47 | org.junit.vintage 48 | junit-vintage-engine 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | org.springframework.boot 58 | spring-boot-maven-plugin 59 | 60 | true 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /book_vue/src/views/BookManage.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 修改 11 | 删除 12 | 13 | 14 | 15 | 23 | 24 | 25 | 26 | 28 | 95 | -------------------------------------------------------------------------------- /book_vue/src/views/BookUpdate.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 确定修改 24 | 重置 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /book_java/mvnw.cmd: -------------------------------------------------------------------------------- 1 | @REM ---------------------------------------------------------------------------- 2 | @REM Licensed to the Apache Software Foundation (ASF) under one 3 | @REM or more contributor license agreements. See the NOTICE file 4 | @REM distributed with this work for additional information 5 | @REM regarding copyright ownership. The ASF licenses this file 6 | @REM to you under the Apache License, Version 2.0 (the 7 | @REM "License"); you may not use this file except in compliance 8 | @REM with the License. You may obtain a copy of the License at 9 | @REM 10 | @REM https://www.apache.org/licenses/LICENSE-2.0 11 | @REM 12 | @REM Unless required by applicable law or agreed to in writing, 13 | @REM software distributed under the License is distributed on an 14 | @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | @REM KIND, either express or implied. See the License for the 16 | @REM specific language governing permissions and limitations 17 | @REM under the License. 18 | @REM ---------------------------------------------------------------------------- 19 | 20 | @REM ---------------------------------------------------------------------------- 21 | @REM Maven Start Up Batch script 22 | @REM 23 | @REM Required ENV vars: 24 | @REM JAVA_HOME - location of a JDK home dir 25 | @REM 26 | @REM Optional ENV vars 27 | @REM M2_HOME - location of maven2's installed home dir 28 | @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands 29 | @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending 30 | @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven 31 | @REM e.g. to debug Maven itself, use 32 | @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 33 | @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files 34 | @REM ---------------------------------------------------------------------------- 35 | 36 | @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' 37 | @echo off 38 | @REM set title of command window 39 | title %0 40 | @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' 41 | @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% 42 | 43 | @REM set %HOME% to equivalent of $HOME 44 | if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") 45 | 46 | @REM Execute a user defined script before this one 47 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre 48 | @REM check for pre script, once with legacy .bat ending and once with .cmd ending 49 | if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" 50 | if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" 51 | :skipRcPre 52 | 53 | @setlocal 54 | 55 | set ERROR_CODE=0 56 | 57 | @REM To isolate internal variables from possible post scripts, we use another setlocal 58 | @setlocal 59 | 60 | @REM ==== START VALIDATION ==== 61 | if not "%JAVA_HOME%" == "" goto OkJHome 62 | 63 | echo. 64 | echo Error: JAVA_HOME not found in your environment. >&2 65 | echo Please set the JAVA_HOME variable in your environment to match the >&2 66 | echo location of your Java installation. >&2 67 | echo. 68 | goto error 69 | 70 | :OkJHome 71 | if exist "%JAVA_HOME%\bin\java.exe" goto init 72 | 73 | echo. 74 | echo Error: JAVA_HOME is set to an invalid directory. >&2 75 | echo JAVA_HOME = "%JAVA_HOME%" >&2 76 | echo Please set the JAVA_HOME variable in your environment to match the >&2 77 | echo location of your Java installation. >&2 78 | echo. 79 | goto error 80 | 81 | @REM ==== END VALIDATION ==== 82 | 83 | :init 84 | 85 | @REM Find the project base dir, i.e. the directory that contains the folder ".mvn". 86 | @REM Fallback to current working directory if not found. 87 | 88 | set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% 89 | IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir 90 | 91 | set EXEC_DIR=%CD% 92 | set WDIR=%EXEC_DIR% 93 | :findBaseDir 94 | IF EXIST "%WDIR%"\.mvn goto baseDirFound 95 | cd .. 96 | IF "%WDIR%"=="%CD%" goto baseDirNotFound 97 | set WDIR=%CD% 98 | goto findBaseDir 99 | 100 | :baseDirFound 101 | set MAVEN_PROJECTBASEDIR=%WDIR% 102 | cd "%EXEC_DIR%" 103 | goto endDetectBaseDir 104 | 105 | :baseDirNotFound 106 | set MAVEN_PROJECTBASEDIR=%EXEC_DIR% 107 | cd "%EXEC_DIR%" 108 | 109 | :endDetectBaseDir 110 | 111 | IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig 112 | 113 | @setlocal EnableExtensions EnableDelayedExpansion 114 | for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a 115 | @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% 116 | 117 | :endReadAdditionalConfig 118 | 119 | SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" 120 | set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" 121 | set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain 122 | 123 | set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" 124 | 125 | FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( 126 | IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B 127 | ) 128 | 129 | @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central 130 | @REM This allows using the maven wrapper in projects that prohibit checking in binary data. 131 | if exist %WRAPPER_JAR% ( 132 | if "%MVNW_VERBOSE%" == "true" ( 133 | echo Found %WRAPPER_JAR% 134 | ) 135 | ) else ( 136 | if not "%MVNW_REPOURL%" == "" ( 137 | SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" 138 | ) 139 | if "%MVNW_VERBOSE%" == "true" ( 140 | echo Couldn't find %WRAPPER_JAR%, downloading it ... 141 | echo Downloading from: %DOWNLOAD_URL% 142 | ) 143 | 144 | powershell -Command "&{"^ 145 | "$webclient = new-object System.Net.WebClient;"^ 146 | "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ 147 | "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ 148 | "}"^ 149 | "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ 150 | "}" 151 | if "%MVNW_VERBOSE%" == "true" ( 152 | echo Finished downloading %WRAPPER_JAR% 153 | ) 154 | ) 155 | @REM End of extension 156 | 157 | @REM Provide a "standardized" way to retrieve the CLI args that will 158 | @REM work with both Windows and non-Windows executions. 159 | set MAVEN_CMD_LINE_ARGS=%* 160 | 161 | %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* 162 | if ERRORLEVEL 1 goto error 163 | goto end 164 | 165 | :error 166 | set ERROR_CODE=1 167 | 168 | :end 169 | @endlocal & set ERROR_CODE=%ERROR_CODE% 170 | 171 | if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost 172 | @REM check for post script, once with legacy .bat ending and once with .cmd ending 173 | if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" 174 | if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" 175 | :skipRcPost 176 | 177 | @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' 178 | if "%MAVEN_BATCH_PAUSE%" == "on" pause 179 | 180 | if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% 181 | 182 | exit /B %ERROR_CODE% 183 | -------------------------------------------------------------------------------- /book_java/src/main/resources/static/js/app.22ec5a32.js: -------------------------------------------------------------------------------- 1 | (function(e){function t(t){for(var o,l,u=t[0],i=t[1],s=t[2],m=0,p=[];m \(.*\)$'` 83 | if expr "$link" : '/.*' > /dev/null; then 84 | PRG="$link" 85 | else 86 | PRG="`dirname "$PRG"`/$link" 87 | fi 88 | done 89 | 90 | saveddir=`pwd` 91 | 92 | M2_HOME=`dirname "$PRG"`/.. 93 | 94 | # make it fully qualified 95 | M2_HOME=`cd "$M2_HOME" && pwd` 96 | 97 | cd "$saveddir" 98 | # echo Using m2 at $M2_HOME 99 | fi 100 | 101 | # For Cygwin, ensure paths are in UNIX format before anything is touched 102 | if $cygwin ; then 103 | [ -n "$M2_HOME" ] && 104 | M2_HOME=`cygpath --unix "$M2_HOME"` 105 | [ -n "$JAVA_HOME" ] && 106 | JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 107 | [ -n "$CLASSPATH" ] && 108 | CLASSPATH=`cygpath --path --unix "$CLASSPATH"` 109 | fi 110 | 111 | # For Mingw, ensure paths are in UNIX format before anything is touched 112 | if $mingw ; then 113 | [ -n "$M2_HOME" ] && 114 | M2_HOME="`(cd "$M2_HOME"; pwd)`" 115 | [ -n "$JAVA_HOME" ] && 116 | JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" 117 | fi 118 | 119 | if [ -z "$JAVA_HOME" ]; then 120 | javaExecutable="`which javac`" 121 | if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then 122 | # readlink(1) is not available as standard on Solaris 10. 123 | readLink=`which readlink` 124 | if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then 125 | if $darwin ; then 126 | javaHome="`dirname \"$javaExecutable\"`" 127 | javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" 128 | else 129 | javaExecutable="`readlink -f \"$javaExecutable\"`" 130 | fi 131 | javaHome="`dirname \"$javaExecutable\"`" 132 | javaHome=`expr "$javaHome" : '\(.*\)/bin'` 133 | JAVA_HOME="$javaHome" 134 | export JAVA_HOME 135 | fi 136 | fi 137 | fi 138 | 139 | if [ -z "$JAVACMD" ] ; then 140 | if [ -n "$JAVA_HOME" ] ; then 141 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 142 | # IBM's JDK on AIX uses strange locations for the executables 143 | JAVACMD="$JAVA_HOME/jre/sh/java" 144 | else 145 | JAVACMD="$JAVA_HOME/bin/java" 146 | fi 147 | else 148 | JAVACMD="`which java`" 149 | fi 150 | fi 151 | 152 | if [ ! -x "$JAVACMD" ] ; then 153 | echo "Error: JAVA_HOME is not defined correctly." >&2 154 | echo " We cannot execute $JAVACMD" >&2 155 | exit 1 156 | fi 157 | 158 | if [ -z "$JAVA_HOME" ] ; then 159 | echo "Warning: JAVA_HOME environment variable is not set." 160 | fi 161 | 162 | CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher 163 | 164 | # traverses directory structure from process work directory to filesystem root 165 | # first directory with .mvn subdirectory is considered project base directory 166 | find_maven_basedir() { 167 | 168 | if [ -z "$1" ] 169 | then 170 | echo "Path not specified to find_maven_basedir" 171 | return 1 172 | fi 173 | 174 | basedir="$1" 175 | wdir="$1" 176 | while [ "$wdir" != '/' ] ; do 177 | if [ -d "$wdir"/.mvn ] ; then 178 | basedir=$wdir 179 | break 180 | fi 181 | # workaround for JBEAP-8937 (on Solaris 10/Sparc) 182 | if [ -d "${wdir}" ]; then 183 | wdir=`cd "$wdir/.."; pwd` 184 | fi 185 | # end of workaround 186 | done 187 | echo "${basedir}" 188 | } 189 | 190 | # concatenates all lines of a file 191 | concat_lines() { 192 | if [ -f "$1" ]; then 193 | echo "$(tr -s '\n' ' ' < "$1")" 194 | fi 195 | } 196 | 197 | BASE_DIR=`find_maven_basedir "$(pwd)"` 198 | if [ -z "$BASE_DIR" ]; then 199 | exit 1; 200 | fi 201 | 202 | ########################################################################################## 203 | # Extension to allow automatically downloading the maven-wrapper.jar from Maven-central 204 | # This allows using the maven wrapper in projects that prohibit checking in binary data. 205 | ########################################################################################## 206 | if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then 207 | if [ "$MVNW_VERBOSE" = true ]; then 208 | echo "Found .mvn/wrapper/maven-wrapper.jar" 209 | fi 210 | else 211 | if [ "$MVNW_VERBOSE" = true ]; then 212 | echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." 213 | fi 214 | if [ -n "$MVNW_REPOURL" ]; then 215 | jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" 216 | else 217 | jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" 218 | fi 219 | while IFS="=" read key value; do 220 | case "$key" in (wrapperUrl) jarUrl="$value"; break ;; 221 | esac 222 | done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" 223 | if [ "$MVNW_VERBOSE" = true ]; then 224 | echo "Downloading from: $jarUrl" 225 | fi 226 | wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" 227 | if $cygwin; then 228 | wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` 229 | fi 230 | 231 | if command -v wget > /dev/null; then 232 | if [ "$MVNW_VERBOSE" = true ]; then 233 | echo "Found wget ... using wget" 234 | fi 235 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then 236 | wget "$jarUrl" -O "$wrapperJarPath" 237 | else 238 | wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" 239 | fi 240 | elif command -v curl > /dev/null; then 241 | if [ "$MVNW_VERBOSE" = true ]; then 242 | echo "Found curl ... using curl" 243 | fi 244 | if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then 245 | curl -o "$wrapperJarPath" "$jarUrl" -f 246 | else 247 | curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f 248 | fi 249 | 250 | else 251 | if [ "$MVNW_VERBOSE" = true ]; then 252 | echo "Falling back to using Java to download" 253 | fi 254 | javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" 255 | # For Cygwin, switch paths to Windows format before running javac 256 | if $cygwin; then 257 | javaClass=`cygpath --path --windows "$javaClass"` 258 | fi 259 | if [ -e "$javaClass" ]; then 260 | if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then 261 | if [ "$MVNW_VERBOSE" = true ]; then 262 | echo " - Compiling MavenWrapperDownloader.java ..." 263 | fi 264 | # Compiling the Java class 265 | ("$JAVA_HOME/bin/javac" "$javaClass") 266 | fi 267 | if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then 268 | # Running the downloader 269 | if [ "$MVNW_VERBOSE" = true ]; then 270 | echo " - Running MavenWrapperDownloader.java ..." 271 | fi 272 | ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") 273 | fi 274 | fi 275 | fi 276 | fi 277 | ########################################################################################## 278 | # End of extension 279 | ########################################################################################## 280 | 281 | export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} 282 | if [ "$MVNW_VERBOSE" = true ]; then 283 | echo $MAVEN_PROJECTBASEDIR 284 | fi 285 | MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" 286 | 287 | # For Cygwin, switch paths to Windows format before running java 288 | if $cygwin; then 289 | [ -n "$M2_HOME" ] && 290 | M2_HOME=`cygpath --path --windows "$M2_HOME"` 291 | [ -n "$JAVA_HOME" ] && 292 | JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` 293 | [ -n "$CLASSPATH" ] && 294 | CLASSPATH=`cygpath --path --windows "$CLASSPATH"` 295 | [ -n "$MAVEN_PROJECTBASEDIR" ] && 296 | MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` 297 | fi 298 | 299 | # Provide a "standardized" way to retrieve the CLI args that will 300 | # work with both Windows and non-Windows executions. 301 | MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" 302 | export MAVEN_CMD_LINE_ARGS 303 | 304 | WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain 305 | 306 | exec "$JAVACMD" \ 307 | $MAVEN_OPTS \ 308 | -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ 309 | "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ 310 | ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" 311 | --------------------------------------------------------------------------------
5 | For a guide and recipes on how to configure / customize this project, 6 | check out the 7 | vue-cli documentation. 8 |