Skip to content

Commit

Permalink
Update components.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikWhitten67 committed Sep 28, 2023
1 parent 97ccf13 commit ec7e617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/docs/basics/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 class="text-4xl font-bold mt-8">Component Structure</h2>
>
<pre data-prefix="1."><code

>import Vader, {include} from 'vaderjs'</code></pre>
><span class="text-[#c586c0]">import</span> <span class="text-white">Vader</span>, <span class="text-slate-200">{include}</span> <span class="text-[#c586c0]">from</span> <span class="text-[#ce9178]">'vaderjs'</span></code></pre>
<pre data-prefix="2." class=""><code><span class="text-blue-700">class </span> myApp <span class="text-blue-700"> extends</span> Vader.Component<span class="text-blue-700">{</span> </code> </pre>
</code></pre>
<pre data-prefix="3." class=""><code> <span class="text-blue-700">constructor</span><span class="text-green-500">(){</span> </code> </pre>
Expand Down

0 comments on commit ec7e617

Please sign in to comment.