- 博客(8)
- 收藏
- 关注
原创 vue3使用入门
一些资料[vue3中文文档][https://vue3js.cn/docs/zh/guide/installation.html] [vue-cli][https://cli.vuejs.org/zh/config/#全局-cli-配置] [vuex][https://vuex.vuejs.org/zh/guide/] [vue-router][https://router.vuejs.org/zh/] [ant Design Vue][https://2x.antdv.com/docs/.
2021-05-30 20:15:44
1114
2
原创 webpack5使用webpack-dev-server
使用webpack5之后,发现原先的dev-server不好使了,报错Cannot find module 'webpack-cli/bin/config-yargs'
2021-05-30 19:59:35
558
2
原创 ReactNative遇到info Installing required CocoaPods dependencies卡死的问题
最近换了mac,第一次使用rn做ios的项目发现一个问题,在使用react-native run-ios的时候,会遇到info Installing required CocoaPods dependencies卡着一直不动,盲猜是install的源不好使了。了解了一下之后,CocoaPods这个东西是基于ruby gem的,换源!~ which pod/usr/loca...
2019-09-15 22:44:48
11098
4
原创 excel上传下载 Content-type
最近有一个问题,上传文件的时候要判断上传文件的类型要求只能上传excel类型的文件<input type="file"accept="image/jpge,image/png"/>这种可以选择jpge和png类型的文件。但是xls/xlsx判断不了。后来在http Content-type中找到了答案accept="application/vnd.openxm...
2019-08-28 15:34:45
16926
原创 VUE项目start后自动打开浏览器载入项目
config文件夹下的index.js文件中设置autoOpenBrowser: truemodule.exports = { dev: { autoOpenBrowser: true, }}
2018-10-19 14:41:21
1361
原创 vue项目中favicon.ico的使用
1.在index.html中引入ico文件 <link rel="icon" href="./favicon.ico" type="image/x-icon">2.在build/webpack.prod.conf.js中,粘如如下代码。 new HtmlWebpackPlugin({ filename: config.build.index, ...
2018-10-19 14:38:12
3152
原创 VScode占用cup100%
VScode最近更新后,每次打开项目都会在任务管理器产生2个rg.exe进程。cup之后会直接超频大红,任务管理器CPU占用率达到100%。解决方案:在VScode中文件->首选项->设置搜索"search.followSymlinks":true,然后设置为false就可以解决问题了。
2018-01-25 15:14:09
13860
7
原创 关于Vue版本不匹配问题(Vue packages version mismatch)
今天再npm run dev时遇到一个错误:由于当时vue版本已经到2.9.2版本。按照提示更新,无果。随后发现时由于weex环境的问题。只要巡行以下代码weex xbind repair toolkit-repairweex repair即可解决npm run dev无法启动的问题。
2018-01-25 15:07:57
5655
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人