add admin login.js

このコミットが含まれているのは:
dragon1211 2021-10-07 11:15:45 -07:00
コミット dbe94d059c
6個のファイルの変更133行の追加96行の削除

ファイルの表示

@ -10688,11 +10688,10 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ "default": () => (/* binding */ AdminApp)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var _login__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./login */ "./resources/js/admin/login/index.jsx");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/esm/react-router-dom.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/esm/react-router.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
/* harmony import */ var _login__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./login */ "./resources/js/admin/login/index.jsx");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/esm/react-router-dom.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/esm/react-router.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@ -10720,7 +10719,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
var AdminApp = /*#__PURE__*/function (_Component) {
_inherits(AdminApp, _Component);
@ -10735,12 +10733,12 @@ var AdminApp = /*#__PURE__*/function (_Component) {
_createClass(AdminApp, [{
key: "render",
value: function render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.BrowserRouter, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Switch, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_5__.Route, {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_3__.BrowserRouter, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.Switch, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_4__.Route, {
exact: true,
path: "/login/admin",
component: _login__WEBPACK_IMPORTED_MODULE_2__.default
component: _login__WEBPACK_IMPORTED_MODULE_1__.default
})
})
});
@ -10752,8 +10750,26 @@ var AdminApp = /*#__PURE__*/function (_Component) {
/***/ }),
/***/ "./resources/js/admin/index.jsx":
/*!**************************************!*\
!*** ./resources/js/admin/index.jsx ***!
\**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var _admin__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./admin */ "./resources/js/admin/admin.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
// ----------------------------------------------------------------------
if (document.getElementById('admin-app')) {
react_dom__WEBPACK_IMPORTED_MODULE_1__.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(AdminApp, {}), document.getElementById('admin-app'));
react_dom__WEBPACK_IMPORTED_MODULE_0__.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_admin__WEBPACK_IMPORTED_MODULE_1__.default, {}), document.getElementById('admin-app'));
}
/***/ }),
@ -10930,9 +10946,9 @@ __webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js"); // requir
__webpack_require__(/*! ./pages/pages */ "./resources/js/pages/pages.js");
__webpack_require__(/*! ./child/child */ "./resources/js/child/child.js");
__webpack_require__(/*! ./child */ "./resources/js/child/index.jsx");
__webpack_require__(/*! ./admin/admin */ "./resources/js/admin/admin.js");
__webpack_require__(/*! ./admin */ "./resources/js/admin/index.jsx");
/***/ }),
@ -12144,29 +12160,28 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ "default": () => (/* binding */ ChildApp)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var _auth_forgot_password__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth/forgot_password */ "./resources/js/child/auth/forgot_password/index.jsx");
/* harmony import */ var _auth_forgot_password_complete__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./auth/forgot_password/complete */ "./resources/js/child/auth/forgot_password/complete.jsx");
/* harmony import */ var _auth_forgot_password_reset__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./auth/forgot_password/reset */ "./resources/js/child/auth/forgot_password/reset.jsx");
/* harmony import */ var _auth_login__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./auth/login */ "./resources/js/child/auth/login/index.jsx");
/* harmony import */ var _auth_register_temporary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./auth/register/temporary */ "./resources/js/child/auth/register/temporary.jsx");
/* harmony import */ var _auth_register__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./auth/register */ "./resources/js/child/auth/register/index.jsx");
/* harmony import */ var _auth_register_complete__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./auth/register/complete */ "./resources/js/child/auth/register/complete.jsx");
/* harmony import */ var _auth_register_error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./auth/register/error */ "./resources/js/child/auth/register/error.jsx");
/* harmony import */ var _meeting__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./meeting */ "./resources/js/child/meeting/index.jsx");
/* harmony import */ var _meeting_detail__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./meeting/detail */ "./resources/js/child/meeting/detail.jsx");
/* harmony import */ var _parent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./parent */ "./resources/js/child/parent/index.jsx");
/* harmony import */ var _parent_detail__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./parent/detail */ "./resources/js/child/parent/detail.jsx");
/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./profile */ "./resources/js/child/profile/index.jsx");
/* harmony import */ var _profile_detail__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./profile/detail */ "./resources/js/child/profile/detail.jsx");
/* harmony import */ var _profile_edit__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./profile/edit */ "./resources/js/child/profile/edit.jsx");
/* harmony import */ var _profile_password_edit__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./profile/password_edit */ "./resources/js/child/profile/password_edit.jsx");
/* harmony import */ var _profile_withdrawal__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./profile/withdrawal */ "./resources/js/child/profile/withdrawal.jsx");
/* harmony import */ var _withdrawal_complete__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./withdrawal/complete */ "./resources/js/child/withdrawal/complete.jsx");
/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./search */ "./resources/js/child/search/index.jsx");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/esm/react-router-dom.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/esm/react-router.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
/* harmony import */ var _auth_forgot_password__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth/forgot_password */ "./resources/js/child/auth/forgot_password/index.jsx");
/* harmony import */ var _auth_forgot_password_complete__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth/forgot_password/complete */ "./resources/js/child/auth/forgot_password/complete.jsx");
/* harmony import */ var _auth_forgot_password_reset__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./auth/forgot_password/reset */ "./resources/js/child/auth/forgot_password/reset.jsx");
/* harmony import */ var _auth_login__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./auth/login */ "./resources/js/child/auth/login/index.jsx");
/* harmony import */ var _auth_register_temporary__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./auth/register/temporary */ "./resources/js/child/auth/register/temporary.jsx");
/* harmony import */ var _auth_register__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./auth/register */ "./resources/js/child/auth/register/index.jsx");
/* harmony import */ var _auth_register_complete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./auth/register/complete */ "./resources/js/child/auth/register/complete.jsx");
/* harmony import */ var _auth_register_error__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./auth/register/error */ "./resources/js/child/auth/register/error.jsx");
/* harmony import */ var _meeting__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./meeting */ "./resources/js/child/meeting/index.jsx");
/* harmony import */ var _meeting_detail__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./meeting/detail */ "./resources/js/child/meeting/detail.jsx");
/* harmony import */ var _parent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./parent */ "./resources/js/child/parent/index.jsx");
/* harmony import */ var _parent_detail__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./parent/detail */ "./resources/js/child/parent/detail.jsx");
/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./profile */ "./resources/js/child/profile/index.jsx");
/* harmony import */ var _profile_detail__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./profile/detail */ "./resources/js/child/profile/detail.jsx");
/* harmony import */ var _profile_edit__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./profile/edit */ "./resources/js/child/profile/edit.jsx");
/* harmony import */ var _profile_password_edit__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./profile/password_edit */ "./resources/js/child/profile/password_edit.jsx");
/* harmony import */ var _profile_withdrawal__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./profile/withdrawal */ "./resources/js/child/profile/withdrawal.jsx");
/* harmony import */ var _withdrawal_complete__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./withdrawal/complete */ "./resources/js/child/withdrawal/complete.jsx");
/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./search */ "./resources/js/child/search/index.jsx");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router-dom/esm/react-router-dom.js");
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react-router-dom */ "./node_modules/react-router/esm/react-router.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@ -12211,7 +12226,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
var ChildApp = /*#__PURE__*/function (_Component) {
@ -12228,84 +12242,84 @@ var ChildApp = /*#__PURE__*/function (_Component) {
_createClass(ChildApp, [{
key: "render",
value: function render() {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.BrowserRouter, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsxs)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Switch, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_21__.BrowserRouter, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsxs)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Switch, {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/register-temporary/c-account",
component: _auth_register_temporary__WEBPACK_IMPORTED_MODULE_6__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_register_temporary__WEBPACK_IMPORTED_MODULE_5__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/register/c-account",
component: _auth_register__WEBPACK_IMPORTED_MODULE_7__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_register__WEBPACK_IMPORTED_MODULE_6__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/register/c-account/complete",
component: _auth_register_complete__WEBPACK_IMPORTED_MODULE_8__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_register_complete__WEBPACK_IMPORTED_MODULE_7__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/register/c-account/error/",
component: _auth_register_error__WEBPACK_IMPORTED_MODULE_9__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_register_error__WEBPACK_IMPORTED_MODULE_8__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/forgot-password/c-account",
component: _auth_forgot_password__WEBPACK_IMPORTED_MODULE_2__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_forgot_password__WEBPACK_IMPORTED_MODULE_1__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/forgot-password/c-account/reset",
component: _auth_forgot_password_reset__WEBPACK_IMPORTED_MODULE_4__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_forgot_password_reset__WEBPACK_IMPORTED_MODULE_3__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/forgot-password/c-account/complete",
component: _auth_forgot_password_complete__WEBPACK_IMPORTED_MODULE_3__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_forgot_password_complete__WEBPACK_IMPORTED_MODULE_2__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/login/c-account",
component: _auth_login__WEBPACK_IMPORTED_MODULE_5__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _auth_login__WEBPACK_IMPORTED_MODULE_4__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/meeting",
component: _meeting__WEBPACK_IMPORTED_MODULE_10__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _meeting__WEBPACK_IMPORTED_MODULE_9__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/meeting/detail/:meeting_id",
component: _meeting_detail__WEBPACK_IMPORTED_MODULE_11__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _meeting_detail__WEBPACK_IMPORTED_MODULE_10__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/search",
component: _search__WEBPACK_IMPORTED_MODULE_20__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _search__WEBPACK_IMPORTED_MODULE_19__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/parent",
component: _parent__WEBPACK_IMPORTED_MODULE_12__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _parent__WEBPACK_IMPORTED_MODULE_11__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/parent/detail/:father_id",
component: _parent_detail__WEBPACK_IMPORTED_MODULE_13__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _parent_detail__WEBPACK_IMPORTED_MODULE_12__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/profile",
component: _profile__WEBPACK_IMPORTED_MODULE_14__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _profile__WEBPACK_IMPORTED_MODULE_13__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/profile/detail/:child_id",
component: _profile_detail__WEBPACK_IMPORTED_MODULE_15__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _profile_detail__WEBPACK_IMPORTED_MODULE_14__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/profile/edit/:child_id",
component: _profile_edit__WEBPACK_IMPORTED_MODULE_16__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _profile_edit__WEBPACK_IMPORTED_MODULE_15__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/profile/password-edit/:child_id",
component: _profile_password_edit__WEBPACK_IMPORTED_MODULE_17__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _profile_password_edit__WEBPACK_IMPORTED_MODULE_16__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/c-account/profile/withdrawal",
component: _profile_withdrawal__WEBPACK_IMPORTED_MODULE_18__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_23__.Route, {
component: _profile_withdrawal__WEBPACK_IMPORTED_MODULE_17__.default
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__.jsx)(react_router_dom__WEBPACK_IMPORTED_MODULE_22__.Route, {
exact: true,
path: "/withdrawal/complete",
component: _withdrawal_complete__WEBPACK_IMPORTED_MODULE_19__.default
component: _withdrawal_complete__WEBPACK_IMPORTED_MODULE_18__.default
})]
})
});
@ -12317,8 +12331,26 @@ var ChildApp = /*#__PURE__*/function (_Component) {
/***/ }),
/***/ "./resources/js/child/index.jsx":
/*!**************************************!*\
!*** ./resources/js/child/index.jsx ***!
\**************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var _child__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./child */ "./resources/js/child/child.js");
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
// ----------------------------------------------------------------------
if (document.getElementById('c-app')) {
react_dom__WEBPACK_IMPORTED_MODULE_1__.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_21__.jsx)(ChildApp, {}), document.getElementById('c-app'));
react_dom__WEBPACK_IMPORTED_MODULE_0__.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_child__WEBPACK_IMPORTED_MODULE_1__.default, {}), document.getElementById('c-app'));
}
/***/ }),

ファイルの表示

@ -1,5 +1,4 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import Login from './login';
@ -18,10 +17,3 @@ export default class AdminApp extends Component {
);
}
}
if(document.getElementById('admin-app')){
ReactDOM.render(
<AdminApp />,
document.getElementById('admin-app')
)
}

10
backend/resources/js/admin/index.jsx ノーマルファイル
ファイルの表示

@ -0,0 +1,10 @@
import ReactDOM from 'react-dom';
import AdminApp from './admin';
// ----------------------------------------------------------------------
if(document.getElementById('admin-app')){
ReactDOM.render(
<AdminApp />,
document.getElementById('admin-app')
)
}

ファイルの表示

@ -5,5 +5,5 @@ require('./bootstrap');
// require('./pages/contact/unknown');
require('./pages/pages');
require('./child/child');
require('./admin/admin');
require('./child');
require('./admin');

ファイルの表示

@ -1,5 +1,4 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import ForgotPassword from './auth/forgot_password';
import ForgotPasswordComplete from './auth/forgot_password/complete';
@ -61,11 +60,4 @@ export default class ChildApp extends Component {
</BrowserRouter>
);
}
}
if(document.getElementById('c-app')){
ReactDOM.render(
<ChildApp />,
document.getElementById('c-app')
)
}

11
backend/resources/js/child/index.jsx ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
import ReactDOM from 'react-dom';
import ChildApp from './child';
// ----------------------------------------------------------------------
if(document.getElementById('c-app')){
ReactDOM.render(
<ChildApp />,
document.getElementById('c-app')
)
}