Code Monkey home page Code Monkey logo

Comments (4)

csr632 avatar csr632 commented on June 4, 2024

同意,我本周想办法解决一下

from vite-plugin-react-pages.

pisyell avatar pisyell commented on June 4, 2024

请问这个问题4的版本解决了吗?

from vite-plugin-react-pages.

csr632 avatar csr632 commented on June 4, 2024

目前还没有,还在考虑解决方案。正在考虑使用shadow-dom或者iframe来隔离demo。可是它们会造成其他的问题,比如,如果用户想将样式引入demo-box内部,那么需要经过一些特殊处理(如果直接将样式引入到全局,就无法影响到shadow-dom或者iframe内部)。

demo本身也有应用样式的需求对吧。目前你是怎么引用样式的?直接在demo文件中import './style.css'?还是使用css-in-js?

from vite-plugin-react-pages.

csr632 avatar csr632 commented on June 4, 2024

Fixed in #128 . Publish [email protected].

from vite-plugin-react-pages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.