WEB前端
文章平均质量分 56
叮咚侠
大家好,在这里希望可以向高手学习!
展开
-
The unauthenticated git protocol on port 9418 is no longer supported.
问题:vue工程执行npm install的时候报上图所示错误,npm ERR! Error while executing:npm ERR! d:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.gitnpm ERR!npm ERR! fatal: remote error:npm ERR! The unauthenticated git protocol on p...原创 2022-04-07 11:10:56 · 1262 阅读 · 0 评论 -
angular配置懒加载core.js:14597 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function
懒加载配置命令(详细配置国产可以直接中官网上查看):ng g module student --routingstudent 为模块名称,执行完毕后会生成一下两个文件:student.module.tsstudent-routing.module.tsangualr配置懒加载启动使用 ng s 命令启动,然后访问的时候,路由不起作用了错误信息如下:core.js:145...原创 2019-10-21 22:43:37 · 6682 阅读 · 1 评论 -
如何在Angular4中引入jquery
1、anjq是我的项目名称:在anjq目录下打开dos命令窗口,然后依次执行如下命令:npm install --save jquerynpm install @types/jquery --save如图:2、执行完命令之后,会发现配置文件package.json中会多出配置信息:"@types/jquery":"^3.2.12","jque原创 2017-09-15 16:08:44 · 17660 阅读 · 6 评论 -
如何在angular2中引用FontAwesome字体中的图标?
参考文章链接:http://blog.csdn.net/fuzhenglai/article/details/50668918因此我们如果不想用 Fontawesome 提供的类,只想在 css 里面引用图标的话,可以这样子,请自行脑补:.icon:before { content: '\f006'; font-family: FontAwesome;转载 2017-12-11 11:30:11 · 2756 阅读 · 0 评论 -
npm WARN checkPermissions Missing write access to C:\Users\zhang\AppData\Roaming\npm\node_modules\@a
npm WARN checkPermissions Missing write access to C:\Users\zhang\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\camelcasenpm WARN checkPermissions Missing write access to C:\Users\zhang\A...原创 2018-09-03 14:54:12 · 8112 阅读 · 0 评论