From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 09 - deeper into components/cmp-adv-01-starting-setup/src/App.vue | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/09 - deeper into components/cmp-adv-01-starting-setup/src/App.vue b/09 - deeper into components/cmp-adv-01-starting-setup/src/App.vue new file mode 100644 index 0000000..a411817 --- /dev/null +++ b/09 - deeper into components/cmp-adv-01-starting-setup/src/App.vue @@ -0,0 +1,46 @@ +<template> + <div> + <the-header></the-header> + <badge-list></badge-list> + <user-info + :full-name="activeUser.name" + :info-text="activeUser.description" + :role="activeUser.role" + ></user-info> + </div> +</template> + +<script> +import TheHeader from './components/TheHeader.vue'; +import BadgeList from './components/BadgeList.vue'; +import UserInfo from './components/UserInfo.vue'; + +export default { + components: { + // 'the-header': TheHeader, + // TheHeader: TheHeader, + TheHeader, + BadgeList, + UserInfo + }, + data() { + return { + activeUser: { + name: 'Maximilian Schwarzmüller', + description: 'Site owner and admin', + role: 'admin', + }, + }; + }, +}; +</script> + +<style> +html { + font-family: sans-serif; +} + +body { + margin: 0; +} +</style> \ No newline at end of file -- Gitblit v1.8.0