Git Product home page Git Product logo

Comments (4)

pandao avatar pandao commented on May 9, 2024

可以通过配置项path来指定依赖的第三方组件lib的位置,不过依赖的CodeMirror模块我已经合并了(在不使用Require.js的情况下,加载合并的CodeMirror模块)。
既然用了Editor.md,一般情况下,大多是不会再用到CodeMirror的,可以直接用Editor.md加载的CodeMirror。

from editor.md.

Snowpine avatar Snowpine commented on May 9, 2024

恩,你的意思我理解!我也能安装起来。谢谢!
我是用的Yii2,用composer安装了Editor.md,安装在vendor/bower目录下,但因为vendor不在web可访问目录下,所以我必须用Yii2的AssetBundle把Editor.md发布出去,发布好的文件在一个随机目录下。
我必须发布Editor.md的整个目录,不能只发布js和css,否则依赖包对应不起来,这时候美中不足的是很多不需要的文件也发布出来了,比如jquery.min.js。

from editor.md.

pandao avatar pandao commented on May 9, 2024

@Snowpine jquery.min.js不是动态加载的,所以不用发布,使用你自己目录下的jquery;

我打算把jquery.min.js等不是动态加载的模块移出lib目录,这是我的一个疏忽。

from editor.md.

pandao avatar pandao commented on May 9, 2024

@v1.1.8 fixed.

from editor.md.

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.