app.c95d6a0c54ebd20855cc.js.map
31.4 KB
{"version":3,"sources":["webpack:///./src/components/header.vue?1f46","webpack:///./src/components/header.vue","webpack:///src/components/header.vue","webpack:///src/components/loginMenu.vue","webpack:///./src/components/loginMenu.vue?dba0","webpack:///./src/components/loginMenu.vue","webpack:///./src/components/setting.vue?ed24","webpack:///./src/components/setting.vue","webpack:///src/components/noticeList.vue","webpack:///src/components/setting.vue","webpack:///./src/components/noticeList.vue?3d13","webpack:///./src/components/noticeList.vue","webpack:///src/App.vue","webpack:///./src/App.vue?0179","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/assets/khlogo.png"],"names":["components_header","render","this","$createElement","_self","_c","_m","staticRenderFns","_vm","_h","staticClass","_v","attrs","href","src","__webpack_require__","src_components_header","normalizeComponent","name","data","ssrContext","loginMenu","username","password","methods","login","axios_default","a","post","then","message","alert","window","location","components_loginMenu","on","submit","$event","preventDefault","directives","rawName","value","expression","type","placeholder","domProps","input","target","composing","src_components_loginMenu","loginMenu_normalizeComponent","components_setting","_l","item","key","class","seen","code","click","toggle","_s","noticeList","el","components","setting","setting_normalizeComponent","official","siteClass","some","$emit","sql","basic","created","fetchNoticeList","_this","reload","forEach","components_noticeList","settingchanged","notice","link","title","site","_e","date","App","siteHeader","noticeList_normalizeComponent","selectortype_template_index_0_src_App","id","src_App","App_normalizeComponent","Vue","use","Router","router","routes","path","component","mode","config","productionTip","axios","template","module","exports","p"],"mappings":"iKAGeA,GADEC,OAFjB,WAA0BC,KAAaC,eAAbD,KAAuCE,MAAAC,GAAwB,OAA/DH,KAA+DI,GAAA,IAExEC,iBADjB,WAAoC,IAAAC,EAAAN,KAAaO,EAAAD,EAAAL,eAA0BE,EAAAG,EAAAJ,MAAAC,IAAAI,EAAwB,OAAAJ,EAAA,UAAAA,EAAA,OAA8BK,YAAA,cAAwBL,EAAA,OAAYK,YAAA,iBAA2BF,EAAAG,GAAA,iBAAAH,EAAAG,GAAA,KAAAN,EAA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vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[_c('div',{staticClass:\"headerBox\"},[_c('div',{staticClass:\"logo_content\"},[_vm._v(\" KHU NOTICE\")]),_vm._v(\" \"),_c('div',{staticClass:\"logo_content_medium\"},[_vm._v(\" FOR LAZE\")]),_vm._v(\" \"),_c('div',{staticClass:\"logo_content_little\"},[_vm._v(\" started by 2020-2 open source project visit khu-hub registory\")]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"http://khuhub.khu.ac.kr/2019100538/khu-notice-project\"}},[_c('div',{staticClass:\"visit\"},[_vm._v(\" Visit\")])]),_vm._v(\" \"),_c('img',{staticClass:\"logo\",attrs:{\"src\":require(\"../assets/khlogo.png\")}}),_vm._v(\" \"),_c('div',{staticClass:\"search\"},[_c('input',{staticClass:\"search_blank\"})])])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-66239745\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/header.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-66239745\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./header.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./header.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-66239745\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./header.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/header.vue\n// module id = null\n// module chunks = ","<template>\n <header>\n <div class = \"headerBox\">\n <div class = \"logo_content\"> KHU NOTICE</div>\n <div class = \"logo_content_medium\"> FOR LAZE</div>\n <div class = \"logo_content_little\"> started by 2020-2 open source project visit khu-hub registory</div>\n <a href = \"http://khuhub.khu.ac.kr/2019100538/khu-notice-project\"><div class = \"visit\"> Visit</div></a>\n <img class = \"logo\" src = \"../assets/khlogo.png\">\n <div class = \"search\">\n <input class = \"search_blank\">\n </div>\n </div>\n </header>\n</template>\n\n<script>\nexport default {\n name: 'header',\n data () {\n return {\n }\n }\n}\n</script>\n\n<style>\n header{\n height: 443px;\n background:linear-gradient(131deg,rgb(247,183,66),rgb(252,74,66));\n }\n .headerBox{\n width:1010px;\n height: inherit;\n margin: 0 auto 0 auto;\n position: relative;\n }\n .logo{\n position: absolute;\n right: 50px;\n }\n .logo_content{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 60px;\n display: block;\n position: absolute;\n top:100px;\n }\n .logo_content_medium{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 40px;\n display: block;\n position: absolute;\n top:170px;\n }\n .logo_content_little{\n color: white;\n font-family: 'BIGJOHN';\n font-size: 15px;\n display: block;\n position: absolute;\n top:240px;\n width: 400px;\n }\n .visit{\n color: white;\n font-family: 'consolas';\n font-size: 30px;\n display: block;\n position: absolute;\n top:300px;\n padding: 5px 20px 5px 20px;\n border: 2px solid white;\n cursor: pointer;\n }\n .search{\n position: absolute;\n right:0px;\n top: 3px;\n height: 25px;\n }\n .search_blank{\n outline: none;\n height: 20px;\n border: 2px solid white;\n background-color: transparent;\n border-radius: 1px;\n color:white;\n width:250px;\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/header.vue","<template>\n <div class=\"login-menu\">\n <div class=\"input-box\">\n <form v-on:submit.prevent=\"login\">\n <ul class=\"login-input-list\">\n <li>\n <input type=\"text\" v-model=\"username\" placeholder=\"USERNAME\" />\n </li>\n <li>\n <input type=\"password\" v-model=\"password\" placeholder=\"PASSWORD\" />\n </li>\n <li>\n <button type=\"submit\">login</button>\n </li>\n </ul>\n </form>\n </div>\n </div>\n</template>\n\n<script>\nimport axios from 'axios'\n\nexport default {\n data () {\n return {\n username: '',\n password: ''\n }\n },\n methods: {\n login () {\n axios\n .post('/api/login', {\n username: this.username,\n password: this.password\n })\n .then(function (message) {\n if (message.data === 'isExist') {\n alert('isExist')\n }\n if (message.data === 'success') {\n window.location.href = '/'\n }\n })\n }\n }\n}\n</script>\n\n<style>\n.login-menu {\n position: absolute;\n right: 150px;\n top: 200px;\n width: 400px;\n height: 500px;\n background-color: white;\n border-radius: 4px;\n box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.08);\n}\n.login-menu .input-box {\n height: 400px;\n margin: 50px 25px 50px 25px;\n width: 350px;\n display: flex;\n justify-content: center;\n}\n.login-input-list input {\n font-size: 20px;\n width: 300px;\n height: 50px;\n border-radius: 5px;\n padding-left: 40px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button {\n font-size: 20px;\n width: 345px;\n height: 50px;\n border-radius: 5px;\n margin-top: 20px;\n box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.08);\n}\n.login-input-list button:hover {\n cursor: pointer;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/loginMenu.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-menu\"},[_c('div',{staticClass:\"input-box\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.login($event)}}},[_c('ul',{staticClass:\"login-input-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],attrs:{\"type\":\"text\",\"placeholder\":\"USERNAME\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}})]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],attrs:{\"type\":\"password\",\"placeholder\":\"PASSWORD\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_vm._v(\" \"),_vm._m(0)])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('button',{attrs:{\"type\":\"submit\"}},[_vm._v(\"login\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-710ecc9a\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./loginMenu.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./loginMenu.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-710ecc9a\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./loginMenu.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/loginMenu.vue\n// module id = null\n// module chunks = ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('setting',_vm._l((_vm.setting),function(item){return _c('span',{key:item.name,staticClass:\"site\",class:[item.seen ? item.code: 'unSelected'],on:{\"click\":function($event){return _vm.toggle(item.code)}}},[_vm._v(\"\\r\\n \"+_vm._s(item.name)+\"\\r\\n \")])}),0)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-fd012262\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/setting.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-fd012262\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./setting.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./setting.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-fd012262\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./setting.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/setting.vue\n// module id = null\n// module chunks = ","<template>\r\n <div class = \"noticeList\">\r\n <setting v-on:settingchanged=\"reload\"></setting>\r\n <ul>\r\n <li class = \"item\" v-for=\"notice in noticeList\" :key=\"notice\">\r\n <a v-bind:href=\"notice.link\" target=\"_blank\"><div class = \"title\">{{notice.title}}</div></a>\r\n <div class = \"noticeInfo\">\r\n <span class = \"site khu\" v-if=\"notice.site == '경희대학교 공지사항'\">경희대</span>\r\n <span class = \"site sw\" v-else-if=\"notice.site == '소프트웨어 융합대학 공지사항'\">SW융합</span>\r\n <span class = \"site janghak\" v-else-if=\"notice.site == '경희대학교 장학센터'\">장학센터</span>\r\n <span class = \"date\">{{notice.date}}</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport axios from 'axios'\r\nimport setting from './setting'\r\n\r\nexport default {\r\n el: '.noticeList',\r\n components: {\r\n 'setting': setting\r\n },\r\n data () {\r\n return {\r\n noticeList: [],\r\n sql: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList order by date desc',\r\n basic: 'select title,link,date_format(date,\"%Y-%m-%d\") as date,site from noticeList'\r\n }\r\n },\r\n created () {\r\n this.fetchNoticeList()\r\n },\r\n methods: {\r\n fetchNoticeList () {\r\n axios\r\n .post('/api/fetchNoticeList', {\r\n sql: this.sql\r\n })\r\n .then((noticeList) => {\r\n this.noticeList = noticeList.data\r\n })\r\n },\r\n reload (setting) {\r\n var sql = this.basic\r\n sql += ' where 0'\r\n setting.forEach(function (item) {\r\n if (item.seen === true) {\r\n sql += ' or site = ' + '\\'' + item.official + '\\''\r\n }\r\n })\r\n this.sql = sql + ' order by date desc'\r\n this.fetchNoticeList()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n .noticeList{\r\n width: 1010px;\r\n background: rgb(249,249,249);\r\n }\r\n ul{\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin: 0 auto 10px auto;\r\n }\r\n li{\r\n margin-bottom:2px;\r\n }\r\n .item{\r\n background: white;\r\n height: 32px;\r\n display: flex;\r\n position: relative;\r\n padding: 6px 15px 18px;\r\n width: 960px;\r\n border-radius:5px;\r\n }\r\n .title{\r\n font-size:15px;\r\n }\r\n a{\r\n color: #34495e;\r\n\r\n }\r\n a:visited{\r\n color: grey;\r\n }\r\n .noticeInfo{\r\n position: absolute;\r\n bottom:12px;\r\n font-size:12px;\r\n }\r\n .date{\r\n color: grey;\r\n }\r\n .site{\r\n color: white;\r\n font-size:10px;\r\n padding: 2px 10px;\r\n }\r\n .khu{\r\n background-color: #C0392B;\r\n }\r\n .sw{\r\n background-color: #3498DB;\r\n }\r\n .janghak{\r\n background-color: #632300;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/noticeList.vue","<template>\r\n<setting>\r\n <span class = \"site\"\r\n v-for=\"item in setting\"\r\n v-bind:key=\"item.name\" :class=\"[item.seen ? item.code: 'unSelected']\"\r\n v-on:click=\"toggle(item.code)\">\r\n {{item.name}}\r\n </span>\r\n</setting>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n el: 'setting',\r\n data () {\r\n return {\r\n setting: [\r\n {name: 'SW융합', seen: true, code: 'sw', official: '소프트웨어 융합대학 공지사항'},\r\n {name: '경희대', seen: true, code: 'khu', official: '경희대학교 공지사항'},\r\n {name: '장학센터', seen: true, code: 'janghak', official: '경희대학교 장학센터'}\r\n ]\r\n }\r\n },\r\n methods: {\r\n toggle (siteClass) {\r\n this.setting.some(function (data) {\r\n if (data.code === siteClass) {\r\n data.seen = !data.seen\r\n }\r\n })\r\n this.$emit('settingchanged', this.setting)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\nsetting{\r\n margin-bottom:10px;\r\n}\r\n.site{\r\n cursor: pointer;\r\n user-select: none;\r\n}\r\n.unSelected{\r\n color:black;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/setting.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"noticeList\"},[_c('setting',{on:{\"settingchanged\":_vm.reload}}),_vm._v(\" \"),_c('ul',_vm._l((_vm.noticeList),function(notice){return _c('li',{key:notice,staticClass:\"item\"},[_c('a',{attrs:{\"href\":notice.link,\"target\":\"_blank\"}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(notice.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"noticeInfo\"},[(notice.site == '경희대학교 공지사항')?_c('span',{staticClass:\"site khu\"},[_vm._v(\"경희대\")]):(notice.site == '소프트웨어 융합대학 공지사항')?_c('span',{staticClass:\"site sw\"},[_vm._v(\"SW융합\")]):(notice.site == '경희대학교 장학센터')?_c('span',{staticClass:\"site janghak\"},[_vm._v(\"장학센터\")]):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(notice.date))])])])}),0)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-67f911a4\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/noticeList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-67f911a4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./noticeList.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noticeList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-67f911a4\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./noticeList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/noticeList.vue\n// module id = null\n// module chunks = ","<template>\n<div id=\"app\">\n <siteHeader></siteHeader>\n <div class = \"body\">\n <setting></setting>\n <noticeList></noticeList>\n </div>\n</div>\n</template>\n\n<script>\nimport siteHeader from './components/header'\nimport loginMenu from './components/loginMenu'\nimport noticeList from './components/noticeList'\n\nexport default {\n name: 'App',\n components: {\n 'siteHeader': siteHeader,\n 'loginMenu': loginMenu,\n 'noticeList': noticeList\n }\n}\n</script>\n\n<style>\n@font-face{\n font-family: 'JejuGothic';\n src: url('assets/JejuGothic.ttf');\n}\n@font-face{\n font-family: 'BIGJOHN';\n src: url('assets/BIGJOHN.otf');\n}\nbody{\n font-family: sans-serif;\n margin: 0;\n background: #f2f3f5;\n}\na{\n text-decoration: none;\n color: inherit;\n}\nli{\n list-style: none;\n}\ninput{\n border: none;\n}\nbutton{\n border:none;\n}\nul{\n padding:0;\n}\n.body{\n margin-top:10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('siteHeader'),_vm._v(\" \"),_c('div',{staticClass:\"body\"},[_c('setting'),_vm._v(\" \"),_c('noticeList')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-07abb9bf\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-07abb9bf\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-07abb9bf\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","import Vue from 'vue'\r\nimport Router from 'vue-router'\r\nimport App from '@/App'\r\n\r\nVue.use(Router)\r\n\r\nexport default new Router({\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'App',\r\n component: App\r\n }\r\n ],\r\n mode: 'history'\r\n})\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport axios from 'axios'\n\nVue.config.productionTip = false\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n axios,\n components: { App },\n template: '<App/>'\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","module.exports = __webpack_public_path__ + \"static/img/khlogo.f48860a.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/khlogo.png\n// module id = hxEs\n// module chunks = 1"],"sourceRoot":""}