Style your Nuxt 3 components with Advanced Custom Fields - [WP + Nuxt.js PART 4]

Опубликовано: 12 Октябрь 2024
на канале: codingoblin
617
12

Checkout https://codingoblin.com

How to style your Nuxt 3 components using Advanced Custom Fields, the WordPress REST API and TailwindCSS.

Apply colours and padding to your components from within your WordPress page editor by making use of the flexible content field from Advanced Custom Fields.

Create your style fields in ACF, set the styles in your WordPress page editor, pull them into your Nuxt 3 project then output them in your components!

How to output inline styles and create classes with them using v-bind()