From b1eaea501a637f89a3df476833b0086a290c1eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20Demirta=C5=9F?= Date: Wed, 20 Apr 2022 18:28:49 +0300 Subject: [PATCH] feat: introduce layouts (#28) --- README.md | 2 ++ app.vue | 5 ++--- layouts/404.vue | 18 ++++++++++++++++++ layouts/README.md | 13 +++++++++++++ layouts/default.vue | 9 +++++++++ layouts/home.vue | 9 +++++++++ pages/[...all].vue | 11 +++++++++++ pages/hi/[id].vue | 4 ++++ 8 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 layouts/404.vue create mode 100644 layouts/README.md create mode 100644 layouts/default.vue create mode 100644 layouts/home.vue create mode 100644 pages/[...all].vue diff --git a/README.md b/README.md index 67440a0..3c6a12a 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ - 🍍 [State Management via Pinia](https://pinia.esm.dev/) +- 📑 [Layout system](./layouts) + - 📥 APIs auto importing - for Composition API, VueUse and custom composables. - 🏎 Zero-config cloud functions and deploy diff --git a/app.vue b/app.vue index b135b8a..fad2e38 100644 --- a/app.vue +++ b/app.vue @@ -1,8 +1,7 @@