Skip to content

Commit b865630

Browse files
authored
updates the optimization documentation from showing a debug value to a link, where the actual options of initTE() are defined in the quickstart guide - related to #1955 (#1960)
1 parent 26f2bdf commit b865630

File tree

1 file changed

+11
-1
lines changed
  • site/content/docs/standard/getting-started/optimization

1 file changed

+11
-1
lines changed

site/content/docs/standard/getting-started/optimization/index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,20 @@ <h3 class="mb-3 font-bold">
183183
<!-- prettier-ignore -->
184184
{{< twsnippet/wrapper "src/index.js" "" "mobile" >}}{{< twsnippet/code active=true lang="js" >}}
185185
import { Select, initTE } from "tw-elements";
186-
initTE({ Select }, true); // set second parameter to true if you want to use a debugger
186+
initTE({ Select }, options);
187187
{{< /twsnippet/code >}}{{< /twsnippet/wrapper >}}
188188
</div>
189189

190+
<p>
191+
The <code>options</code> are documented in the
192+
<a
193+
class="text-primary"
194+
href="../quick-start/index.html#formats"
195+
target="_blank"
196+
>Tailwind Elements formats</a
197+
>.
198+
</p>
199+
190200
<p class="mb-3 font-bold">Step 5</p>
191201
<p>Run the application</p>
192202

0 commit comments

Comments
 (0)