changed all files to composition API
This commit is contained in:
@@ -17,12 +17,8 @@
|
||||
|
||||
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'default'
|
||||
})
|
||||
</script>
|
||||
import { ref } from 'vue';
|
||||
|
||||
<script>
|
||||
import ClientSearch from "../components/ClientSearch.vue";
|
||||
import AssetTable from "../components/server/AssetTable.vue";
|
||||
import AssetTableNoClient from "../components/server/AssetTableNoClient.vue";
|
||||
@@ -31,26 +27,18 @@ import HardwareSpecifications from "../components/server/HardwareSpecifications.
|
||||
import SoftwareSpecifications from "../components/server/SoftwareSpecifications.vue";
|
||||
import NetworkSpecifications from "../components/server/NetworkSpecifications.vue";
|
||||
|
||||
definePageMeta({
|
||||
layout: 'default'
|
||||
})
|
||||
|
||||
const darkMode = ref(true)
|
||||
</script>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "AssetPage",
|
||||
components: {
|
||||
ClientSearch,
|
||||
AssetTable,
|
||||
AssetTableNoClient,
|
||||
Asset,
|
||||
HardwareSpecifications,
|
||||
SoftwareSpecifications,
|
||||
NetworkSpecifications,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
darkMode: true,
|
||||
};
|
||||
},
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user