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

:style directive #33

Closed
vanodevium opened this issue Jul 13, 2024 · 4 comments
Closed

:style directive #33

vanodevium opened this issue Jul 13, 2024 · 4 comments

Comments

@vanodevium
Copy link
Collaborator

vanodevium commented Jul 13, 2024

Unfortunately, there is still an issue with сamelCase

<header class="navbar is-flex p-0 pt-2 pb-2" :style="{ color: 'white', backgroundColor: '#df0000' }" >
...
</header>
dy added a commit that referenced this issue Jul 13, 2024
@dy
Copy link
Owner

dy commented Jul 13, 2024

Hmm, try 10.9.3. I literally added your test case, it should have worked https://github.com/dy/sprae/blob/main/test/style.js#L48-L52

@dy dy closed this as completed Jul 13, 2024
@vanodevium
Copy link
Collaborator Author

@dy

It's a pity, but it's true: I conducted a lot of tests and realized that the UMD files are broken and do not work at all, even if you take it from the CDN and put it in the root of the project.

The problem is in the formatting of the file, I showed it in the screenshot #28 (yes, the plugin is to blame).
I will try to send a request to the author of the plugin.

But for now it is necessary to come up with a temporary solution.

@dy
Copy link
Owner

dy commented Jul 13, 2024

oh ok, but it worked for me, hm. How exactly do you run it?

@vanodevium
Copy link
Collaborator Author

@dy

Just

<script src="https://unpkg.com/sprae@10.9.3/dist/sprae.umd.min.js" init></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants