<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gabriele Baldi</title>
    <description>The latest articles on DEV Community by Gabriele Baldi (@bnznamco).</description>
    <link>https://dev.to/bnznamco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1054113%2F286a78c2-2b71-4ed7-8ae9-bb75fc81aed7.png</url>
      <title>DEV Community: Gabriele Baldi</title>
      <link>https://dev.to/bnznamco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bnznamco"/>
    <language>en</language>
    <item>
      <title>Django Structured JSON Field: Unleashing the Power of Validated JSON in Django</title>
      <dc:creator>Gabriele Baldi</dc:creator>
      <pubDate>Tue, 01 Apr 2025 07:27:54 +0000</pubDate>
      <link>https://dev.to/bnznamco/django-structured-json-field-unleashing-the-power-of-validated-json-in-django-4j87</link>
      <guid>https://dev.to/bnznamco/django-structured-json-field-unleashing-the-power-of-validated-json-in-django-4j87</guid>
      <description>&lt;h2&gt;
  
  
  🎯 The Lightbulb Moment
&lt;/h2&gt;

&lt;p&gt;Imagine you're working on a Django project, and you have a JSON field that feels like a wild west of data—unpredictable, unvalidated, and potentially chaotic. You've wished for a way to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Define strict data structures&lt;/li&gt;
&lt;li&gt;Validate incoming data effortlessly&lt;/li&gt;
&lt;li&gt;Create meaningful relationships within your JSON fields&lt;/li&gt;
&lt;li&gt;Maintain performance and integration with Django's ecosystem&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Well, dream no more.&lt;/strong&gt; 😈 Django Structured JSON Field is here to transform your JSON data handling!&lt;/p&gt;

&lt;h2&gt;
  
  
  🧩 The Genesis of the Project
&lt;/h2&gt;

&lt;p&gt;Every great library is born from a real-world problem. In this case, the challenge was simple yet profound: how do we bring structure, validation, and intelligence to JSON fields in Django?&lt;/p&gt;

&lt;h3&gt;
  
  
  The Core Challenge
&lt;/h3&gt;

&lt;p&gt;Django's JSONField is flexible, but flexibility can be a double-edged sword. Without proper validation, you risk:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inconsistent data structures&lt;/li&gt;
&lt;li&gt;Validation happening too late in the process&lt;/li&gt;
&lt;li&gt;Complex and error-prone manual validation logic&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Enter Pydantic: The Validation Superhero
&lt;/h3&gt;

&lt;p&gt;The solution came from an unexpected ally—Pydantic, the validation powerhouse behind FastAPI. By leveraging Pydantic's robust model validation, we could bring order to the JSON chaos.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Key Features That Make Django Structured JSON Field Shine
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Pydantic-Powered Validation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;django.db&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;structured.fields&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;StructuredJSONField&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;structured.pydantic.models&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;BaseModel&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pydantic&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Field&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Address&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;BaseModel&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;street&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Field&lt;/span&gt;&lt;span class="p"&gt;(...,&lt;/span&gt; &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Street address&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;city&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;zip_code&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;country&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;United States&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;  &lt;span class="c1"&gt;# Default value demonstration
&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;User&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Model&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CharField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_length&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;contact_info&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;StructuredJSONField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;schema&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;Address&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, the &lt;code&gt;contact_info&lt;/code&gt; field is now a structured, validated JSON field. Try to save an incomplete or incorrect address, and Django Structured JSON Field will raise a validation error.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Django Model Relationships Reimagined
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;django.db&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;structured.fields&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;StructuredJSONField&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;structured.pydantic.models&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;BaseModel&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Company&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Model&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CharField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_length&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Employee&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;BaseModel&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;company&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Company&lt;/span&gt;  &lt;span class="c1"&gt;# Direct relationship with Django model!
&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;TeamStructure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Model&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;team_details&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;StructuredJSONField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;schema&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;Employee&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Yes, you read that right—you can now create relationships with Django models directly in your Pydantic models!&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Performance-First Design
&lt;/h3&gt;

&lt;p&gt;We didn't just stop at validation. A custom query optimization system ensures that these powerful features don't come at the cost of database performance. Complex relationships? Handled efficiently.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Seamless Framework Integration
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Django Admin&lt;/strong&gt;: Validation errors are displayed cleanly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Django Rest Framework&lt;/strong&gt;: Serialization becomes a breeze&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Validation&lt;/strong&gt;: Extend and customize as needed&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🚀 Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;django-structured-json-field
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Quick Setup
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Install the package&lt;/li&gt;
&lt;li&gt;Import &lt;code&gt;StructuredJSONField&lt;/code&gt; and &lt;code&gt;BaseModel&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Define your Pydantic models inheriting from &lt;code&gt;BaseModel&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Use in Django models&lt;/li&gt;
&lt;li&gt;Enjoy validated, structured JSON fields!&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  🤔 Real-World Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;E-commerce product specifications&lt;/li&gt;
&lt;li&gt;User profile additional information&lt;/li&gt;
&lt;li&gt;Configuration storage&lt;/li&gt;
&lt;li&gt;Complex nested data structures&lt;/li&gt;
&lt;li&gt;Page templates and content&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🌟 Why Choose Django Structured JSON Field?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clarity&lt;/strong&gt;: Make your data intentions explicit&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validation&lt;/strong&gt;: Catch errors early&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexibility&lt;/strong&gt;: Adapt to complex data needs without renouncing relationships&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance&lt;/strong&gt;: No compromise on speed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration&lt;/strong&gt;: Works seamlessly with Django ecosystem&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🤝 Community and Contribution
&lt;/h2&gt;

&lt;p&gt;This is an open-source project, and we believe in community power! &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Found a bug? Open an issue&lt;/li&gt;
&lt;li&gt;Have a feature idea? Submit a pull request&lt;/li&gt;
&lt;li&gt;Experiencing something unique? Share your use case!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📍 Learn More
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/bnznamco/django-structured-field" rel="noopener noreferrer"&gt;Django Structured JSON Field&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation&lt;/strong&gt;: &lt;a href="https://bnznamco.github.io/django-structured-field" rel="noopener noreferrer"&gt;Explore advanced usage and configurations&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: This library might just make your Django development too enjoyable. Use with caution! 😄🐍&lt;/p&gt;

</description>
      <category>api</category>
      <category>python</category>
      <category>django</category>
      <category>datastructures</category>
    </item>
    <item>
      <title>Boost Your Nuxt Website Performance and Lighthouse Score with Critical CSS (Fix render blocking CSS)</title>
      <dc:creator>Gabriele Baldi</dc:creator>
      <pubDate>Wed, 29 Mar 2023 07:55:33 +0000</pubDate>
      <link>https://dev.to/bnznamco/boost-your-nuxt-website-performance-and-lighthouse-score-with-critical-css-fix-render-blocking-css-15d9</link>
      <guid>https://dev.to/bnznamco/boost-your-nuxt-website-performance-and-lighthouse-score-with-critical-css-fix-render-blocking-css-15d9</guid>
      <description>&lt;p&gt;&lt;em&gt;When it comes to website performance, every millisecond counts. Slow loading times can lead to user frustration, higher bounce rates, and ultimately a negative impact on your business. This is where Critical CSS comes into play. In this post, we will explore how Critical CSS can improve your website performance and boost your Lighthouse score.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  👀 What is Critical CSS?
&lt;/h2&gt;

&lt;p&gt;Critical CSS is a technique that involves identifying the styles needed to render above-the-fold content on a page and prioritizing their loading to improve page speed. Above-the-fold content refers to the part of the page that is visible without scrolling. By prioritizing the styles needed to render this content, the page can be displayed faster, giving users a better experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛎️ Why is Critical CSS important?
&lt;/h2&gt;

&lt;p&gt;One of the key metrics that Google's Lighthouse tool measures is website performance, which is influenced by various factors, including page speed and visual stability. Slow loading times can have a negative impact on user experience and can lead to higher bounce rates, which in turn can hurt your search engine rankings. Critical CSS helps improve these metrics by speeding up the time it takes for above-the-fold content to be displayed, making it an important tool for improving website performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎉 Good News: &lt;a href="https://github.com/bnznamco/nuxt-beastcss" rel="noopener noreferrer"&gt;Nuxt-beastcss&lt;/a&gt; does that for you!
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Nuxt-beastcss&lt;/strong&gt; makes it easy to implement Critical CSS on your website without the need for complex configurations or manual code changes. Simply install the module and add a few lines of code to your &lt;strong&gt;Nuxt&lt;/strong&gt; configuration, and you're ready to go! Beastcss handles the rest, identifying and prioritizing the styles needed to render above-the-fold content, and inlining them directly into the HTML file, reducing the number of HTTP requests required to load the critical CSS.&lt;/p&gt;

&lt;h2&gt;
  
  
  ⭐️ Features:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🧙  Zero-configuration required&lt;/li&gt;
&lt;li&gt;🧬  Auto Enables Nuxt CSS Extraction&lt;/li&gt;
&lt;li&gt;📝  Inject critical CSS automatically to page html&lt;/li&gt;
&lt;li&gt;🧼  Removes injected CSS from main files&lt;/li&gt;
&lt;li&gt;⚡️  Lightning fast&lt;/li&gt;
&lt;li&gt;🎭️  Working both in ssr and generate mode&lt;/li&gt;
&lt;li&gt;👯  Both &lt;strong&gt;Nuxt 3&lt;/strong&gt; and &lt;strong&gt;Nuxt 2&lt;/strong&gt; supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📦 Quick Setup:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Add &lt;code&gt;nuxt-beastcss&lt;/code&gt; dependency to your project
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Using pnpm&lt;/span&gt;
pnpm add &lt;span class="nt"&gt;-D&lt;/span&gt; nuxt-beastcss

&lt;span class="c"&gt;# Using yarn&lt;/span&gt;
yarn add &lt;span class="nt"&gt;--dev&lt;/span&gt; nuxt-beastcss

&lt;span class="c"&gt;# Using npm&lt;/span&gt;
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--save-dev&lt;/span&gt; nuxt-beastcss
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Add &lt;code&gt;nuxt-beastcss&lt;/code&gt; to the &lt;code&gt;modules&lt;/code&gt; section of &lt;code&gt;nuxt.config.ts&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineNuxtConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;modules&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nuxt-beastcss&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it! You can now use Nuxt Beastcss in your Nuxt app ✨&lt;/p&gt;

&lt;h2&gt;
  
  
  🔨 Options:
&lt;/h2&gt;

&lt;p&gt;You can write the &lt;code&gt;nuxt-beastcss&lt;/code&gt; config like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// nuxt.config.js&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;defineNuxtConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nuxt&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineNuxtConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;modules&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nuxt-beastcss&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;beastcss&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// Options passed directly to beastcss: https://github.com/freddy38510/beastcss/tree/master/packages/beastcss#options&lt;/span&gt;
    &lt;span class="na"&gt;config&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="c1"&gt;// Default: false&lt;/span&gt;
      &lt;span class="na"&gt;fontFace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the &lt;code&gt;config&lt;/code&gt; object you can pass all &lt;a href="https://github.com/freddy38510/beastcss/tree/master/packages/beastcss#options" rel="noopener noreferrer"&gt;beastcss-official-options&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  👏 Thanks
&lt;/h2&gt;

&lt;p&gt;Thanks to &lt;a href="https://github.com/freddy38510" rel="noopener noreferrer"&gt;@freddy38510&lt;/a&gt; for his work on &lt;a href="https://github.com/freddy38510/beastcss" rel="noopener noreferrer"&gt;beastcss&lt;/a&gt; and thanks to &lt;a href="https://github.com/leeoniya" rel="noopener noreferrer"&gt;@leeoniya&lt;/a&gt; for &lt;a href="https://github.com/leeoniya/dropcss" rel="noopener noreferrer"&gt;dropcss&lt;/a&gt; the magic behind HTML parsing speed.&lt;/p&gt;

</description>
      <category>css</category>
      <category>vue</category>
      <category>webdev</category>
      <category>node</category>
    </item>
  </channel>
</rss>
