jquery-weui document only introduces it is recommended to get the code: npm install jquery-weui through npm
so how do you reference and use it in webpack?
jquery-weui document only introduces it is recommended to get the code: npm install jquery-weui through npm
so how do you reference and use it in webpack?
I haven't used it like this, but you can try it this way.
1. Install jq
and jq-weui
2. The page to be used:
import $from 'jquery'
import' jquery-weui/dist/js/jquery-weui.min';
if jq
reports an error window.$ = $
problem: pc is currently connected to the company s local area network, and the local webpack-dev-server has been set to host: 0.0.0.0 . The mobile phone is connected to the wifi, shared by the PC side to access the PC side ip address + project addre...
such as configuration items like webpack alias: { @ : resolve( src ) } can gulp automatically change the @ symbol into a relative path to reference? such as import a from @ utils index automatically becomes import a from .. util...