Closed mattboon closed 1 year ago
First up, thanks loads for making this library!
A wondering if there's a way to de-initialize the lib somehow after calling configureMonacoTailwindcss()?
configureMonacoTailwindcss()
I see the MonacoTailwindcss type for the created instance has setTailwindConfig and generateStylesFromContent methods, but no destroy or similar.
MonacoTailwindcss
setTailwindConfig
generateStylesFromContent
destroy
Is there any way to achieve this, for example on unmount or to toggle the Intellisense on/off conditionally?
Actually, just seen there is a .dispose() method returned from configureMonacoTailwindcss()
.dispose()
This is what I am after 👍
First up, thanks loads for making this library!
A wondering if there's a way to de-initialize the lib somehow after calling
configureMonacoTailwindcss()
?I see the
MonacoTailwindcss
type for the created instance hassetTailwindConfig
andgenerateStylesFromContent
methods, but nodestroy
or similar.Is there any way to achieve this, for example on unmount or to toggle the Intellisense on/off conditionally?