Codivorestech.codivores.com·Dec 21, 2023Twill / Vue 3 block partyNow that we have set up all the tools to create blocks on both Twill and Vue sides, let's create some generic blocks. Each block will be created in the Common namespace and will be manually added as an allowed block in the controller of our PageConte...319 readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Dec 17, 2023Bridging Twill and Vue: crafting dynamic content BlocksNow that we can create pages, it's time to leverage Twill's powerful content management features and construct reusable blocks. In this article, we will focus on creating a basic Title Twill Block (with a translatable Twill Text Input in a Common nam...334 readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Jun 5, 2023Twill preview with InertiaIf a Twill module uses Revisions, you can benefit from an awesome Twill feature: preview your changes before publishing and compare old revisions. By default, it uses Blade views, so working with Inertia needs some adjustments. The principle For now,...337 readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Apr 17, 2023Application level improvementsLayouts For the moment, we have just one Twill module with one Inertia page, but we will probably have more page templates with different modules in our application (home, blog, portfolio, contact, customer account, ...). It may be a good idea to cre...299 readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindInertia.js
Codivorestech.codivores.com·Apr 14, 2023Twill, Inertia, Vue and Tailwind improvementsWe will use our previous PageContent module to make some improvements. Props optimization When Inertia renders a Page, all the props are JSON encoded in a data-page attribute of the root div. So, when we add the $item to Inertia in our App Controller...603 readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Aug 20, 2021My first Twill moduleUpdated version for Laravel 10 / Twill 3 on Apr 14, 2023 In this article, we will see the creation and customization of a first content module. Module creation In Twill terminology, a Module represents all the files needed to manage a content type: ...1 like·1.6K readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Aug 19, 2021What about building a CMS, let's TwillUpdated version for Laravel 10 / Twill 3 on Apr 14, 2023 Dependencies installation Twill comes as a Laravel package that can be installed via Composer. You can refer to the official documentation for more information. composer require area17/twill:"...3 likes·5.1K readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel
Codivorestech.codivores.com·Jul 14, 2021The Why and the WhatUpdated version for Laravel 10 / Twill 3 on Apr 13, 2023 We are not regular writers and even less in english, so please accept our apologies in advance! (and we encourage your feedback) After some years building Laravel based applications and using ...4.8K readsLaravel / Twill / Inertia / Vite / Vue3 Composition API / TypeScript / TailwindLaravel