question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Isolation in embedded apps

See original GitHub issue

hey there guys,

just looking for a bit of guidance… we using Uno in an embedded UI (going into customer’s websites)… and are looking for a way to isolate CSS classes and prevent interaction between the sites and the embedded ui (could be an issue with standard tailwind style css)

Ideally, we’d just run an obfuscation plugin or option to hash classes on builds, but from what I can tell, that hasn’t been implemented yet. For now, we are running the transformerCompileClass transformer, but that forces us to add a special class (:uno:) on all elements… which is a bit tedious…

Is there a better way to do this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Oct 18, 2022

:uno: is required because otherwise, the UnoCSS won’t be able to identify what is the class and what is not. consider the following example:

const classes = 'mx1 grid' // this should be compiled
const article = 'some grid' // this should not

<div :class="classes"/>

Until someone can provide a better solution, I don’t think it’s something doable to be consider as a roadmap

0reactions
stale[bot]commented, Dec 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Part #1 Hardware Based Isolation - Beningo Embedded Group
The idea behind isolation is that with the application is broken up into separate security domains. If a hacker is able to gain...
Read more >
Efficient Isolation of Trusted Subsystems in ... - CORE
A prototypical application is the software implementation of cryptographic support with strong assurance on the secrecy of keys, even towards other code sharing ......
Read more >
Application Isolation | Developers - Ledger
The Memory Protection Unit is used to natively isolate each app to its own memory region, and apps run in User mode whereas...
Read more >
Efficient isolation of trusted subsystems in embedded systems
Many embedded systems have relatively strong security requirements because they handle confidential data or support secure electronic transactions.
Read more >
What is Web Application Isolation? - Ericom Software
Web application isolation is a cybersecurity solution that focuses on providing protection from web-based threats that target web applications. Protecting web ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found