Giter Site home page Giter Site logo

Comments (7)

feipinxiang avatar feipinxiang commented on August 26, 2024

GitHub Actions 下的有错误。nightly.link 里的没有

from dufs-material-assets.

TransparentLC avatar TransparentLC commented on August 26, 2024

不能复现,而且这个报错是 dufs 的原版的前端资源的代码。

https://github.com/sigoden/dufs/blob/75f06f749cb605fb607f157ed69573799d3c2db8/assets/index.js#L48

from dufs-material-assets.

feipinxiang avatar feipinxiang commented on August 26, 2024

不能复现,而且这个报错是 dufs 的原版的前端资源的代码。

https://github.com/sigoden/dufs/blob/75f06f749cb605fb607f157ed69573799d3c2db8/assets/index.js#L48

又试了下,应该是我运行原版后不清空浏览器缓存,然后--assets D:\dufs\dufs-material-assets会报错。清理了缓存没问题了。
有更新编辑txt/md文本的计划么?

from dufs-material-assets.

TransparentLC avatar TransparentLC commented on August 26, 2024

如果有需要的话我可以考虑加上,不过应该只考虑像记事本那样的纯文本编辑……

from dufs-material-assets.

feipinxiang avatar feipinxiang commented on August 26, 2024

如果有需要的话我可以考虑加上,不过应该只考虑像记事本那样的纯文本编辑……

感谢,有的话临时改个json什么的比较方便。是不是有代码高亮无所谓了。

from dufs-material-assets.

TransparentLC avatar TransparentLC commented on August 26, 2024

虽然引入带高亮的编辑器其实就可以,不过我觉得这又会让前端资源体积膨胀了,所以不太考虑。而且 dufs 加载前端资源的方式没办法做懒加载(比如只有点击编辑才会加载编辑器的部分)。

如果你尝试自己编译前端资源的话应该会看到对资源大小的统计分析,只是那个代码高亮的功能就已经占到了总大小的 50 KB(20%)。

from dufs-material-assets.

feipinxiang avatar feipinxiang commented on August 26, 2024

虽然引入带高亮的编辑器其实就可以,不过我觉得这又会让前端资源体积膨胀了,所以不太考虑。而且 dufs 加载前端资源的方式没办法做懒加载(比如只有点击编辑才会加载编辑器的部分)。

如果你尝试自己编译前端资源的话应该会看到对资源大小的统计分析,只是那个代码高亮的功能就已经占到了总大小的 50 KB(20%)。

我主要是可能会临时改点json配置文件之类的,复杂修改的话就直接下载文件本地修改了。主要是网页上可以改文本的话那一些小修改可以省去一些下载保存打开修改再重新上传的步骤。虽然我在win下用对体积不在意,但我对高亮其实也没啥需求。

from dufs-material-assets.

Related Issues (5)

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.