Skip to content

Commit

Permalink
updates the optimization documentation from showing a debug value to …
Browse files Browse the repository at this point in the history
…a link, where the actual options of initTE() are defined in the quickstart guide - related to #1955 (#1960)
  • Loading branch information
letzfets authored Nov 7, 2023
1 parent 26f2bdf commit b865630
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,20 @@ <h3 class="mb-3 font-bold">
<!-- prettier-ignore -->
{{< twsnippet/wrapper "src/index.js" "" "mobile" >}}{{< twsnippet/code active=true lang="js" >}}
import { Select, initTE } from "tw-elements";
initTE({ Select }, true); // set second parameter to true if you want to use a debugger
initTE({ Select }, options);
{{< /twsnippet/code >}}{{< /twsnippet/wrapper >}}
</div>

<p>
The <code>options</code> are documented in the
<a
class="text-primary"
href="../quick-start/index.html#formats"
target="_blank"
>Tailwind Elements formats</a
>.
</p>

<p class="mb-3 font-bold">Step 5</p>
<p>Run the application</p>

Expand Down

0 comments on commit b865630

Please sign in to comment.