Vue学习之路

news/2024/7/10 0:36:41 标签: vue

vue_0">0. 安装vue环境

npm install -g npm --registry=https://registry.npm.taobao.org
npm config set registry https://registry.npm.taobao.org

# webpack
npm install webpack -g

npm install webpack-cli -g

webpack -v

# vue-cli
npm install -g @vue/cli

# ts
npm install -g typescript
# yarn
npm install -g yarn

# 创建Vue项目
vue create data-frontend
npm run serve

vuecli_g_29">1.npm uninstall vue-cli -g

1.1.描述

npm ERR! Cannot read property ‘package’ of null

1.2.解决方案

# 清除缓存
npm cache clean --force
npm uninstall vue-cli -g

http://www.niftyadmin.cn/n/1458119.html

相关文章

GridView 设置选中状态

GridView设置选中状态 设置原理 是将bean中的数据加入一个字段isSelect 默认填充数据的时候 &#xff0c;默认选中的第一个值 设置为true&#xff0c;其余的都设置为false. 然后 点击单个item的时候 &#xff0c;循环list<bean> 将选中的position 的item设置为true&…

k8s pod configmap挂载外部配置文件

1. 创建configmap # nginx-vue-router.conf server {listen 80;listen [::]:80;server_name localhost;#access_log /var/log/nginx/host.access.log main;location / {root /usr/share/nginx/html;index index.html index.htm;# 适配vue-routertry_files $uri $…

android多级树形列表

我们开发app过程中&#xff0c;经常会碰到需要 多级列表展示的效果。而android原生sdk中根本没有3级 4级甚至更多级别的列表控件。 所以我们就要自己去实现一个类似treeListView 的控件&#xff0c;下面这个是我项目中的一个效果图&#xff0c;可支持多级列表扩展。 android中…

mongodb添加用户

mongodb添加用户 # ubuntu 取消Mongodb的校验模式 vim /etc/mongodb.conf # 见下图设置noauth true mongo --port 8687 use admin # admin下创建admin用户 db.createUser({user:admin,pwd:gdufsdev,roles:[root,userAdminAnyDatabase]})vim /etc/mongodb.conf # 设置auth t…

lingo3d学习之路

1. 创建lingo3d项目 # 使用react-ts yarn create viteyarn add lingo3d-react2.基础知识 2.1.Cube立方体

完美解决Android的WebView加载失败(404,500),显示的自定义视图

完美解决Android的WebView加载失败&#xff08;404&#xff0c;500&#xff09;&#xff0c;显示的自定义视图 好多朋友会在Android开发过程中遇到使用WebView加载html页面出现404,500等错误页面&#xff0c;也有好多人想自定义这个错误页面&#xff0c;但是在6.0之前&#xf…

Multiple dex files define Lcom/ta/utdid2/android/utils/AESUtils

异常信息&#xff1a; [2016-11-28 09:42:03 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/ta/utdid2/android/utils/AESUtils; [2016-11-28 09:42:03 - MobileBZT] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex file…

前端创建react-ts应用

# 使用node 16版本 yarn create react-app app2word --template typescriptyarn startyarn add antd# 安装react-router路由 npm install react-router-dom6参考文档&#xff1a; react-router