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
运行 npm install tt-f2 --save 后,没有找到字节小程序工具如何构建npm包的方法,弱弱的求指导。
npm install tt-f2 --save
The text was updated successfully, but these errors were encountered:
同学说的构建 npm 包是指?如果同学是用小程序原生写的,应该可以 install 后通过 require 引入;如果是使用 uni-app / remax / taro 这样的封装框架,则可以直接使用。 抱歉回复较晚,如果还有问题可以再交流🙏
Sorry, something went wrong.
飞书小程序开发工具没有像微信小程序一样提供“构建npm”和“使用npm”选项,通过install后require导入会报错
噢,抱歉同学,字节小程序 IDE 目前还没有支持 npm 构建,要使用工具应该要拉一份代码放进去作为项目文件;如果使用上面提到的框架会轻松一些,直接支持基本工程能力。
No branches or pull requests
运行
npm install tt-f2 --save
后,没有找到字节小程序工具如何构建npm包的方法,弱弱的求指导。The text was updated successfully, but these errors were encountered: