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
配置moment.js的語言無效,依然只輸出 英文。
import moment from 'moment'; moment.locale('zh-cn');
檢查dist目錄,發現moment/locale下面的文件沒有被包含進來。也許與moment/moment#1435 有關。也許只是wepy的配置問題。但不知如何在wepy項目中配置webpack,嘗試增加webpack.config.js無效。
The text was updated successfully, but these errors were encountered:
这样就可以了
import moment from 'moment' import 'moment/locale/zh-cn'
Sorry, something went wrong.
No branches or pull requests
配置moment.js的語言無效,依然只輸出 英文。
檢查dist目錄,發現moment/locale下面的文件沒有被包含進來。也許與moment/moment#1435 有關。也許只是wepy的配置問題。但不知如何在wepy項目中配置webpack,嘗試增加webpack.config.js無效。
The text was updated successfully, but these errors were encountered: