跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[前端开发] 关于 Taro 小程序打包问题求助。

发表于

现在在打包的时候会将 src 底下的目录都打包进去。想做类似一个异步话的功能,将 src 底下某一个 js 内容抽离到外部,默认导出一个空模块,然后在入口文件做全局 global 的引用绑定,之后进行打包,在打包完成之后再动态更新这个 js 的内容。探讨这样的可行性,有没有大佬做过这方面的改造方案。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.