We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
因为不一定会使用 webpack/vite/gulp,可能是直接 nodejs 去构建的
The text was updated successfully, but these errors were encountered:
嗯,可以直接暴露出相关的js api,目前的构想是,我暴露出一个 createContext 方法,接受插件的参数:
const ctx = createContext(options) // 接收参数都是字符串 code ctx.handleWxml(wxmlCode) ctx.handleJs(jsCode) ctx.handleWxss(wxssCode)
你看这种方式能满足你这个需求嘛?
Sorry, something went wrong.
满足,想要的就是这个
我在新发布的 2.11.0 里,把这个 api 加进去了,使用方法见:
2.11.0
https://weapp-tw.icebreaker.top/docs/quick-start/frameworks/api
sonofmagic
No branches or pull requests
因为不一定会使用 webpack/vite/gulp,可能是直接 nodejs 去构建的
The text was updated successfully, but these errors were encountered: