[{"data":1,"prerenderedAt":468},["ShallowReactive",2],{"project-pasfica":3},{"id":4,"title":5,"body":6,"description":187,"extension":451,"meta":452,"navigation":463,"path":464,"seo":465,"stem":466,"__hash__":467},"content\u002Fprojects\u002Fpasfica.md","Pasfica",{"type":7,"value":8,"toc":436},"minimark",[9,14,64,68,82,93,97,104,140,146,159,165,174,178,188,197,323,337,374,384],[10,11,13],"h2",{"id":12},"project-at-a-glance","Project at a Glance",[15,16,17,25,48,58],"ul",{},[18,19,20,24],"li",{},[21,22,23],"strong",{},"Problem:"," Starting every new Nuxt 3 admin dashboard or storefront project from scratch repeatedly burns time rebuilding the same form inputs, modals, paginated tables, auth stores, and API repository layers.",[18,26,27,30,31,34,35,39,40,43,44,47],{},[21,28,29],{},"Deliverables:"," A reusable ",[21,32,33],{},"Nuxt 3 + Tailwind CSS"," starter kit (",[36,37,38],"code",{},"2023-2025",", maintained up to Nuxt ",[36,41,42],{},"3.16",") containing dual Admin and Front layouts, 28+ custom base UI components, a centralized ",[36,45,46],{},"$apiFetcher"," Repository Pattern plugin, Pinia persisted auth state, and a rule-based form validator.",[18,49,50,53,54,57],{},[21,51,52],{},"Core Stack:"," Nuxt 3, Vue 3, Tailwind CSS, Pinia (",[36,55,56],{},"@pinia-plugin-persistedstate\u002Fnuxt","), JavaScript, FontAwesome 6, V-Calendar, Vue Multiselect, Vue3-Toastify, VueDraggable, Nuxt-Swiper.",[18,59,60,63],{},[21,61,62],{},"Practical Value:"," Built solo as an open-source starter template and reused across real admin\u002Fdashboard builds to accelerate project bootstrapping with consistent UI and API conventions.",[10,65,67],{"id":66},"project-overview","Project Overview",[69,70,71,73,74,77,78,81],"p",{},[21,72,5],{}," is a personal open-source ",[21,75,76],{},"Nuxt 3"," and ",[21,79,80],{},"Tailwind CSS"," boilerplate originally created in August 2023 and continuously updated through late 2025. Rather than relying on a heavy external UI library, Pasfica provides a transparent, customizable set of custom Vue 3 base components alongside a clean frontend architecture for real-world CRUD dashboards and public storefronts.",[69,83,84,85,92],{},"A live interactive showcase of the layouts and components is hosted at ",[86,87,91],"a",{"href":88,"rel":89},"https:\u002F\u002Fpasfica.vercel.app\u002Fadmin",[90],"nofollow","pasfica.vercel.app",".",[10,94,96],{"id":95},"interface-specimens","Interface Specimens",[69,98,99],{},[100,101],"img",{"alt":102,"src":103},"Pasfica Admin Layout featuring collapsible grouped sidebar navigation, breadcrumb navbar, and component showcase menu","\u002Fimg\u002Fportfolio\u002Fpasfica-admin.png",[69,105,106],{},[107,108,109,110,113,114,117,118,117,121,117,124,117,127,117,130,117,133,117,136,139],"em",{},"Admin Dashboard Layout (",[36,111,112],{},"\u002Fadmin","): Collapsible grouped sidebar (",[36,115,116],{},"Input",", ",[36,119,120],{},"Card",[36,122,123],{},"Modal",[36,125,126],{},"Button",[36,128,129],{},"Badge",[36,131,132],{},"Other Components",[36,134,135],{},"Layouts",[36,137,138],{},"Tables","), breadcrumb navigation header, and user profile menu.",[69,141,142],{},[100,143],{"alt":144,"src":145},"Pasfica Front Layout template featuring utility bar, search header, Swiper hero carousel, and product cards","\u002Fimg\u002Fportfolio\u002Fpasfica-front.webp",[69,147,148],{},[107,149,150,151,154,155,158],{},"Front Storefront \u002F Portal Layout (",[36,152,153],{},"\u002Ffront\u002Flayout-1","): Top utility bar, global search header, Login\u002FRegister actions, full-width ",[36,156,157],{},"nuxt-swiper"," hero carousel, and horizontal card listing.",[69,160,161],{},[100,162],{"alt":163,"src":164},"Pasfica Split-Column Authentication Page template with username, password visibility toggle, and Register\u002FLogin actions","\u002Fimg\u002Fportfolio\u002Fpasfica-login.png",[69,166,167],{},[107,168,169,170,173],{},"Authentication Template (",[36,171,172],{},"\u002Ffront\u002Flogin-1","): Split-column login card with password visibility toggle, forgot-password link, and dual Register\u002FLogin actions.",[10,175,177],{"id":176},"starter-architecture-core-building-blocks","Starter Architecture & Core Building Blocks",[179,180,185],"pre",{"className":181,"code":183,"language":184},[182],"language-text","+-------------------------------------------------------------+\n|                  LAYOUTS & PAGE TEMPLATES                   |\n|   layouts\u002Fadmin.vue   |   layouts\u002Ffront.vue   |   Login 1\u002F2 |\n+------------------------------+------------------------------+\n                               |\n         +---------------------+---------------------+\n         |                                           |\n         v                                           v\n+-----------------------------+     +-----------------------------+\n|   CUSTOM BASE COMPONENTS    |     |    DATA & STATE LAYER       |\n|  - 13 Form Input Controls   |     |  - $apiFetcher Nuxt Plugin  |\n|  - Tables & Pagination      |     |  - Standard & Custom Repos  |\n|  - Modals (Default\u002FConfirm\u002F |     |  - useApiFetch + JWT\u002FRefresh|\n|    Side) & Toast Alerts     |     |    Token Scaffolding        |\n|  - Kanban (VueDraggable)    |     |  - Pinia Persisted Auth     |\n|  - Calendar & Swiper        |     |  - Rule-Based useValidator  |\n+-----------------------------+     +-----------------------------+\n","text",[36,186,183],{"__ignoreMap":187},"",[189,190,192,193,196],"h3",{"id":191},"_1-28-custom-base-ui-components-componentsbase","1. 28+ Custom Base UI Components (",[36,194,195],{},"components\u002Fbase\u002F",")",[15,198,199,250,276,313],{},[18,200,201,204,205,117,208,117,211,117,214,117,217,117,220,117,223,117,226,117,229,117,232,117,235,238,239,242,243,246,247,92],{},[21,202,203],{},"Form Input Suite (13 components):"," ",[36,206,207],{},"Default",[36,209,210],{},"Textarea",[36,212,213],{},"Number",[36,215,216],{},"Currency",[36,218,219],{},"Phone",[36,221,222],{},"Date",[36,224,225],{},"DateRange",[36,227,228],{},"Checkbox",[36,230,231],{},"Radio",[36,233,234],{},"Select",[36,236,237],{},"Select2"," (",[36,240,241],{},"vue-multiselect","), ",[36,244,245],{},"File",", and ",[36,248,249],{},"Image",[18,251,252,204,255,117,258,117,261,117,264,117,267,117,269,117,271,246,273,92],{},[21,253,254],{},"Data & Navigation:",[36,256,257],{},"Table\u002FDefault",[36,259,260],{},"Table\u002FPagination",[36,262,263],{},"Breadcrumb",[36,265,266],{},"MenuTab",[36,268,120],{},[36,270,129],{},[36,272,126],{},[36,274,275],{},"Loading",[18,277,278,204,281,117,284,117,287,117,290,293,294,297,298,300,301,304,305,308,309,312],{},[21,279,280],{},"Modals & Interactive Patterns:",[36,282,283],{},"Modal\u002FDefault",[36,285,286],{},"Modal\u002FConfirm",[36,288,289],{},"Modal\u002FSide",[36,291,292],{},"vue3-toastify"," notifications, ",[36,295,296],{},"v-calendar"," date pickers, ",[36,299,157],{}," sliders, and a drag-and-drop ",[21,302,303],{},"Kanban"," board (",[36,306,307],{},"pages\u002Fadmin\u002Fkanban.vue"," via ",[36,310,311],{},"vuedraggable",").",[18,314,315,318,319,322],{},[21,316,317],{},"API-Backed CRUD Reference:"," Includes working CRUD page examples (",[36,320,321],{},"pages\u002Fadmin\u002Ftables\u002Fwith-api\u002F",") demonstrating list, create, and edit flows against repository endpoints.",[189,324,326,327,329,330,333,334,196],{"id":325},"_2-centralized-apifetcher-repository-pattern-plugins-repositories","2. Centralized ",[36,328,46],{}," Repository Pattern (",[36,331,332],{},"plugins\u002F"," & ",[36,335,336],{},"repositories\u002F",[15,338,339,359],{},[18,340,341,342,117,345,117,348,351,352,354,355,358],{},"Exposes domain repositories (",[36,343,344],{},"auth",[36,346,347],{},"category",[36,349,350],{},"customProduct",") through a Nuxt plugin (",[36,353,46],{},") so pages never scatter raw ",[36,356,357],{},"$fetch"," URLs across components.",[18,360,361,362,365,366,369,370,373],{},"Wraps Nuxt's ",[36,363,364],{},"useFetch"," in ",[36,367,368],{},"repositories\u002Frepository.js"," with ",[36,371,372],{},"runtimeConfig.public.baseAPI",", custom-URL bypass mode, and ready-to-enable Bearer token + refresh-token expiration checks.",[189,375,377,378,333,381,196],{"id":376},"_3-persisted-auth-state-custom-validator-stores-utils","3. Persisted Auth State & Custom Validator (",[36,379,380],{},"stores\u002F",[36,382,383],{},"utils\u002F",[15,385,386,411],{},[18,387,388,395,396,117,399,246,402,405,406,308,409,92],{},[21,389,390,391,394],{},"Pinia Auth Store (",[36,392,393],{},"stores\u002Fauth.js","):"," Manages ",[36,397,398],{},"token",[36,400,401],{},"refreshToken",[36,403,404],{},"expired"," cookies alongside persisted ",[36,407,408],{},"userData",[36,410,56],{},[18,412,413,419,420,117,423,117,426,117,429,246,432,435],{},[21,414,415,416,394],{},"Rule-Based Validator (",[36,417,418],{},"utils\u002FuseValidator.js"," Lightweight Laravel-style string rule evaluator supporting ",[36,421,422],{},"required",[36,424,425],{},"min",[36,427,428],{},"max",[36,430,431],{},"numeric",[36,433,434],{},"email"," checks without heavy third-party form libraries.",{"title":187,"searchDepth":437,"depth":437,"links":438},2,[439,440,441,442],{"id":12,"depth":437,"text":13},{"id":66,"depth":437,"text":67},{"id":95,"depth":437,"text":96},{"id":176,"depth":437,"text":177,"children":443},[444,447,449],{"id":191,"depth":445,"text":446},3,"1. 28+ Custom Base UI Components (components\u002Fbase\u002F)",{"id":325,"depth":445,"text":448},"2. Centralized $apiFetcher Repository Pattern (plugins\u002F & repositories\u002F)",{"id":376,"depth":445,"text":450},"3. Persisted Auth State & Custom Validator (stores\u002F & utils\u002F)","md",{"subtitle":453,"slug":454,"client":455,"year":456,"role":457,"category":458,"technologies":459},"Nuxt 3 & Tailwind CSS Admin\u002FFront UI Boilerplate & Component Kit","pasfica","Personal Open Source",2023,"Solo Developer","Developer Tools & Infrastructure",[76,460,80,461,462],"Vue 3","Pinia","JavaScript",true,"\u002Fprojects\u002Fpasfica",{"title":5,"description":187},"projects\u002Fpasfica","32GKN-Ssb58XGL8I0czkbe_SCaM085Jr2oeNs2y9e6I",1796006983888]