Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates the optimization documentation from showing a debug value to … #1960

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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