Files
FE_CPONE/test/vuex/lama/adhi/index.php
2026-04-27 10:13:31 +07:00

77 lines
2.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SmartOne</title>
<link rel="stylesheet" href="../../../libs/vendor/css/google-fonts.css">
<link rel="stylesheet" href="../../../libs/vendor/css/vuetify.min.css">
</head>
<body>
<div v-cloak id="app">
<v-app id="smartApp" >
<smart-navbar></smart-navbar>
<v-content class="blue lighten-5" >
<v-container fluid fill-height>
<v-layout fill-height row wrap>
<v-flex xs6 style="background-color:white">
<one-form-pasien></one-form-pasien>
</v-flex>
<v-flex xs6 style="background-color:white">
<one-list-pasien></one-list-pasien>
</v-flex>
</v-layout>
</v-container>
</v-content>
<v-footer color="blue lighten-2" app>
<span class="white--text">&copy; 2017</span>
</v-footer>
</v-app>
</div>
<!-- Vendor -->
<script src="../../../libs/vendor/axios.min.js"></script>
<script src="../../../libs/vendor/vue.js"></script>
<script src="../../../libs/vendor/vuex.js"></script>
<script src="../../../libs/vendor/vuetify.js"></script>
<!-- App Script -->
<?php
$ts = "?ts=" . Date("ymdhis");
?>
<script type="module">
import { store } from './store.js<?php echo $ts ?>';
import { smartNavbarComponent } from './components/smartNavbarComponent.js<?php echo $ts ?>';
import { oneFormPatientComponent } from './components/oneFormPatientComponent.js<?php echo $ts ?>';
import { oneListPatientComponent } from './components/oneListPatientComponent.js<?php echo $ts ?>';
//for testing
// window.store = store;
new Vue({
store,
el: '#app',
components: {
'smart-navbar': smartNavbarComponent,
'one-form-pasien': oneFormPatientComponent,
'one-list-pasien': oneListPatientComponent,
},
data: {
drawer: false,
}
})
</script>
<style>
[v-cloak] {
display: none
}
</style>
</body>
</html>