-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable inline javascript #1
Comments
Can you paste your code (including less) here? |
Thank you for your help! The less file comes from the RSuite, I am trying to import the steps component into docusaurus. The component imports properly but when I try to import styles using this command: I get the following error:
The error is thrown by this command: Is this sufficient information (I'm quite a noob at this!) |
@pmkrawczyk Please use the following code to set less-loader options:
|
Yes, I've tried this syntax as well, I'm afraid ti doesn't work either - I always get the mentioned errors... |
It works in my project, weird... |
i have the same error 😥 |
Hi,
I'm trying to enable inline javascript in less by adding the following to docusaurus.config.js:
But this does not work, inline javascript throws errors.
By the way, while looking through the plugin code I found this:
As far as I can see, the key should be 'lessOptions' (plural). Changing this does not solve my problem though...
Can anyone help, please?
The text was updated successfully, but these errors were encountered: