Installation issue solved..

This commit is contained in:
Cüneyt Şentürk 2019-11-22 15:16:11 +03:00
parent 1b0d680559
commit 9b86b70c91
6 changed files with 6 additions and 11 deletions

View File

@ -17,7 +17,8 @@ import Language from './views/install/Language';
import Database from './views/install/Database'; import Database from './views/install/Database';
import Settings from './views/install/Settings'; import Settings from './views/install/Settings';
var base_path = url.replace(window.location.origin, ''); var global_path = new URL(url).protocol + '//' + window.location.host;
var base_path = url.replace(global_path, '');
const router = new VueRouter({ const router = new VueRouter({
mode: 'history', mode: 'history',
@ -25,7 +26,7 @@ const router = new VueRouter({
routes: [ routes: [
{ {
path: '/', path: '/',
name: 'requirements', name: 'home',
component: Requirements component: Requirements
}, },
{ {

View File

@ -17,7 +17,6 @@ import NProgressAxios from './../plugins/nprogress-axios';
import {VMoney} from 'v-money'; import {VMoney} from 'v-money';
import { Select, Option } from 'element-ui'; import { Select, Option } from 'element-ui';
import { isThisSecond } from 'date-fns';
// plugin setup // plugin setup
Vue.use(DashboardPlugin); Vue.use(DashboardPlugin);

View File

@ -21,7 +21,6 @@
<p class="mt-2 after-step-text">Database</p> <p class="mt-2 after-step-text">Database</p>
</div> </div>
<div class="col-md-4 text-center"> <div class="col-md-4 text-center">
<button type="button" class="btn btn-secondary btn-lg wizard-steps rounded-circle steps"> <button type="button" class="btn btn-secondary btn-lg wizard-steps rounded-circle steps">
<span class="btn-inner--icon wizard-steps-inner wizard-steps-color">3</span> <span class="btn-inner--icon wizard-steps-inner wizard-steps-color">3</span>

View File

@ -24,13 +24,10 @@
<p class="mt-2 text-muted step-text">Admin</p> <p class="mt-2 text-muted step-text">Admin</p>
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<div class="form-group mb-0"> <div class="form-group mb-0">
<select v-model="form.lang" name="lang" id="lang" size="13" class="col-xl-12 form-control-label"> <select v-model="form.lang" name="lang" id="lang" size="13" class="col-xl-12 form-control-label">
<option <option v-for="(name, code) in languages" :value="code">
v-for="(name, code) in languages"
v-bind:value="code">
{{ name }} {{ name }}
</option> </option>
</select> </select>

View File

@ -23,7 +23,6 @@
<div class="card"> <div class="card">
{!! Form::open([ {!! Form::open([
'url' => url()->current(), 'url' => url()->current(),
'@submit.prevent' => 'onSubmit',
'role' => 'form', 'role' => 'form',
'id' => 'form-install' 'id' => 'form-install'
]) !!} ]) !!}

View File

@ -33,13 +33,13 @@
@stack('js') @stack('js')
<script> <script type="text/javascript"><!--
window.Laravel = <?php echo json_encode([ window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(), 'csrfToken' => csrf_token(),
]); ?> ]); ?>
var flash_notification = {!! (session()->has('flash_notification')) ? json_encode(session()->get('flash_notification')) : 'false' !!}; var flash_notification = {!! (session()->has('flash_notification')) ? json_encode(session()->get('flash_notification')) : 'false' !!};
</script> //--></script>
{{ session()->forget('flash_notification') }} {{ session()->forget('flash_notification') }}
@stack('scripts') @stack('scripts')