Coder Social home page Coder Social logo

netbanner / elementvuespringbootcodetemplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xwjie/elementvuespringbootcodetemplate

0.0 2.0 0.0 896 KB

使用Vue+VueX+ElementUI+SpringBoot的代码框架

Home Page: https://zhuanlan.zhihu.com/p/30537673

License: Apache License 2.0

Shell 6.34% Batchfile 4.90% Java 39.57% HTML 4.27% JavaScript 26.58% Vue 18.34%

elementvuespringbootcodetemplate's Introduction

ElementVueSpringbootCodeTemplate

使用Vue+VueX+ElementUI+SpringBoot的代码框架。详细讲解:程序员你为什么这么累?

特色

  • 前后台一站式代码模板

技术点

后台

  • SpringBoot

前台

  • VUE + VUEX + ElementUI

使用方法

使用h2内置数据库演示 spring data jpa 功能。无需任何配置。

使用了redis做cache,可以启动redis,不启动也暂时没有影响。

先执行 junit 方法 SpringbootCodeTemplateApplicationTests.addTestData 增加测试数据。然后 启动后台springboot工程,在用 npm run dev 启动前台web工程即可。

如需要登陆,默认的内置账号密码为 xwjie/xwjie

2017.12.14 增加基类,实现了自动生成 createTime和updateTime

Hibernate-增加基类,实现了自动生成 createTime和updateTime

spring security 默认的 X-Frame-Optionsdeny ,修改为 SAMEORIGIN ,否则连h2都无法嵌入显示了。如下:

http.headers().frameOptions().sameOrigin();

2017.12.02 封装VUE组件,增加spring security

VUE分页组件封装 , 使用简单,前后台代码都封装好了,相当不错。

spring security知识点(未完)

2017.11.24 增加swagger2

增加swagger2

http://localhost:8080/swagger-ui.html

2017.11.22 增加vue过滤器

增加vue全局过滤器

2017.11.18 ✨ 使用h2数据库

删除自己写的ConcurrentSkipListMap实现,改用spring-data-jpa实现,更加有实际意义。使用的为h2数据库(文件模式)

使用h2数据库配置

2017.11.02 ElementUI升级到2.0.2

ElementUI升级

引入Redis

为什么要引入Redis?使用和配置见:使用Redis Cache

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.