You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2020/06/13 08:23:21 UTC

[GitHub] [incubator-weex] chenzefeng09 opened a new issue #3226: 如何在页面间复用公共组件和样式?

chenzefeng09 opened a new issue #3226:
URL: https://github.com/apache/incubator-weex/issues/3226


   如题,目前公共组件都是重复打包到每个页面的js文件中。我看到文档里提到jsservice可以在weex实例间复用公共的js函数,那能不能不用公共组件呢?该如何操作?需要明白人指点一下


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-weex] chenzefeng09 closed issue #3226: 如何在页面间复用公共组件和样式?

Posted by GitBox <gi...@apache.org>.
chenzefeng09 closed issue #3226:
URL: https://github.com/apache/incubator-weex/issues/3226


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-weex] cnryb commented on issue #3226: 如何在页面间复用公共组件和样式?

Posted by GitBox <gi...@apache.org>.
cnryb commented on issue #3226:
URL: https://github.com/apache/incubator-weex/issues/3226#issuecomment-648579642


   要是我没记错的话,组件编译完也是 js 。 
   也没有哪说 JS Service 里只能放函数呀,你肯定是被示例带歪了。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-weex] chenzefeng09 commented on issue #3226: 如何在页面间复用公共组件和样式?

Posted by GitBox <gi...@apache.org>.
chenzefeng09 commented on issue #3226:
URL: https://github.com/apache/incubator-weex/issues/3226#issuecomment-650679935


   @cnryb 感谢!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org