Coder Social home page Coder Social logo

Comments (7)

303182519 avatar 303182519 commented on July 18, 2024

因为有的是想固定在头部的js,没办法

from fis3-postpackager-loader.

2betop avatar 2betop commented on July 18, 2024

<!--ignore--> 表示忽略此资源,插在</script> 后面,应该能满足你的需求。

from fis3-postpackager-loader.

luozt avatar luozt commented on July 18, 2024

@2betop 加了ignore还是不行,已做示例项目,可参考看看。fis3-postpackager-loader插件会影响data-fixed功能使用

from fis3-postpackager-loader.

2betop avatar 2betop commented on July 18, 2024

你升级下试试,会不会是版本问题。

from fis3-postpackager-loader.

luozt avatar luozt commented on July 18, 2024

我分别在node v4.4.1, node v6.2.2的环境试过了,的确loader Plugin是会影响data-fixed的正常使用。可看看我上面提到的示例项目↑

from fis3-postpackager-loader.

2betop avatar 2betop commented on July 18, 2024

<!--ignore--></script> 之前不能有任何字符。不要断行

在fis3 里面没有data-fixed 直接去掉吧。

from fis3-postpackager-loader.

luozt avatar luozt commented on July 18, 2024

的确是你说的那样,谢谢!(当时测试时,没留意ignore紧跟着script标签...)

from fis3-postpackager-loader.

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.