Giter Club home page Giter Club logo

vuedemo's Introduction

运行演示步骤

前提:jdk、maven环境

  1. 在命令行进入项目目录(与pom.xml同级目录)
  2. 执行mvn jetty:run命令,使用jetty插件运行项目,项目加载过程中会加载好供演示的数据结构
  3. 待项目启动完成,打开浏览器,输入:http://localhost:8080

based:jdk and maven

  1. cd vueDemo/
  2. exec commad 'mvn jetty:run'
  3. chrome/IE.url--http://localhost:8080

down...

简介

  1. 因为vue.js完全可以作为页面模板使用,所以考虑后把html与后台接口完全隔离,后台通过restful接口提供数据/接受请求,页面使用vue-source通信

  2. 项目配置了mybatisGenerate与对应的maven插件,可直接使用 mvn mybatis-generator:generate -e 命令生成dao、mapper、entity

  3. 为演示方便,使用H2 database,每次启动程序都会重置演示数据。 项目中配置了对应的Maven插件,使用 mvn exec:java 即可在浏览器登录查看当前项目的数据

Features

前后台完全分离,页面只使用html与vue/vue-router. 后台使用SpringMVC提供REST-ful接口,前台使用vue-resource与后台交互

使用H2 database与Jetty,直接使用Maven命令mvn jetty:run启动即可演示,方便快捷

vuedemo's People

Contributors

k42jc avatar

Stargazers

 avatar power avatar 袁哲 avatar  avatar Rayest avatar  avatar

Watchers

 avatar  avatar

Forkers

makunsusu

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.