app.25dea6759a08f5edc2ec.js 3 KB
webpackJsonp([1],{"+0vU":function(t,e){},"0pJx":function(t,e){},AKAA:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n("7+uW"),i={render:function(){var t=this.$createElement;return(this._self._c||t)("header",[this._v("\n  로고 들어갈 자리\n")])},staticRenderFns:[]};var r=n("VU/8")({name:"header",data:function(){return{}}},i,!1,function(t){n("0pJx")},null,null).exports,a=n("mtWM"),o=n.n(a),u={data:function(){return{username:"",password:""}},methods:{login:function(){o.a.post("/api/login",{username:this.username,password:this.password}).then(function(t){"isExist"===t.data&&alert("isExist"),"success"===t.data&&(window.location.href="/")})}}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-menu"},[n("div",{staticClass:"input-box"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[n("ul",{staticClass:"login-input-list"},[n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],attrs:{type:"text",placeholder:"USERNAME"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}})]),t._v(" "),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"PASSWORD"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),t._v(" "),t._m(0)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("button",{attrs:{type:"submit"}},[this._v("login")])])}]};var c=n("VU/8")(u,l,!1,function(t){n("AKAA")},null,null).exports,p={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",[e("li",{staticClass:"item"},[this._v("\r\n    hello\r\n    "),e("br"),this._v("\r\n    it's me\r\n")])])}]};var m={name:"App",components:{item:n("VU/8")(null,p,!1,function(t){n("pS+w")},null,null).exports}},d={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"imfoList"},[e("ul",[e("item"),this._v(" "),e("item"),this._v(" "),e("item"),this._v(" "),e("item"),this._v(" "),e("item"),this._v(" "),e("item"),this._v(" "),e("item")],1)])},staticRenderFns:[]};var v={name:"App",components:{siteHeader:r,loginMenu:c,imfoList:n("VU/8")(m,d,!1,function(t){n("v8S2")},null,null).exports}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("siteHeader"),this._v(" "),e("div",{staticClass:"body"},[e("imfoList")],1)],1)},staticRenderFns:[]};var h=n("VU/8")(v,f,!1,function(t){n("+0vU")},null,null).exports,_=n("/ocq");s.a.use(_.a);var w=new _.a({routes:[{path:"/",name:"App",component:h}]});s.a.config.productionTip=!1,new s.a({el:"#app",router:w,axios:o.a,components:{App:h},template:"<App/>"})},"pS+w":function(t,e){},v8S2:function(t,e){}},["NHnr"]);
//# sourceMappingURL=app.25dea6759a08f5edc2ec.js.map