Skip to content
Discussion options

You must be logged in to vote

The docs mention that all the options can be passed here, but it seems like 'silent' is being stripped out because it's an object of methods.

From https://github.com/tw-in-js/twind/blob/main/docs/setup.md#mode

If you are using JSON configuration the modes can be set using strings: "strict", "warn" or "silent".

    <script type="module" src="https://cdn.skypack.dev/twind/shim"></script>
    <script type="twind-config">
      {
        "hash": true,
        "mode": "silent"
      }
    </script>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matthewmateo
Comment options

Answer selected by matthewmateo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants