![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
文章平均质量分 54
前端基础知识,包含vue、js等
yuyanxinyu
这个作者很懒,什么都没留下…
展开
-
Json-server 模拟后端接口
json-server,模拟rest接口,自动生成增删改查接口。原创 2024-04-24 15:42:52 · 624 阅读 · 0 评论 -
Vuex基础知识
vuex是状态管理工具,提供数据仓库,用于组件间的数据共享。当使用vuex共享数据时,应遵循单项数据流。原创 2024-03-01 17:29:24 · 1300 阅读 · 1 评论 -
vue项目使用eslint时报错
view --> extensions,在打开的窗口中分别搜索ESLint、Prettier-Standard并安装。vue使用eslint校验代码时,报错。打开setting.json文件。原创 2024-03-01 09:23:27 · 568 阅读 · 1 评论 -
vscode eslint报错 Newline required at end of file but not found
vscode编译vue代码时报错 Newline required at end of file but not found。原创 2024-02-29 18:57:21 · 464 阅读 · 0 评论 -
npm安装插件报错request to https://registry.npm.taobao.org/vuex failed, reason: certificate has expired
在项目中下载新的插件时,报错request to https://registry.npm.taobao.org/vuex failed, reason: certificate has expired。原创 2024-02-29 14:57:47 · 1364 阅读 · 0 评论 -
vue创建项目报错“禁止运行脚本about_Execution_Policies”
使用vue创建项目时(vue create cli-demo),出现如下错误信息。原创 2024-02-28 09:37:50 · 1310 阅读 · 2 评论 -
+new Date()含义
new Date() 返回 时间戳1699605710619,等价与new Date().getTime()js中使用+将返回数据转换成number类型,如果转换失败则返回NaN。原创 2023-11-10 16:44:31 · 71 阅读 · 1 评论 -
routes路由模式设置为history时后端配置
mode: 'history' //路由模式,默认hash,history模式需要后端做相关配置。原创 2024-02-23 13:52:09 · 778 阅读 · 0 评论 -
vue-cli自定义创建项目
进入需要创建项目的目录,控制台运行 vue create 项目名,选择自定义类型。选择路由模式,CSS类型,ESLint标准。1. 安装vue-cli。原创 2024-02-23 17:14:31 · 328 阅读 · 0 评论 -
vue基础知识(一)
测试全局指令原创 2024-02-23 19:04:48 · 1977 阅读 · 0 评论