
代码管理
gyuei
专栏内容均为个人笔记
展开
-
yarn命令问题:error Couldn‘t find a package.json file in “/Users/XXX“ info Visit https://yarnpkg.com/en/d
运行项目时报错:error Couldn't find a package.json file in "/Users/hxm"info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.解决方法:1.输入如下命令—点击enter执行yarn init 2.按照如图所示填写内容...原创 2020-08-11 14:19:39 · 57351 阅读 · 16 评论 -
yarn命令问题:error in ./node_modules/ant-design-vue/es/form-model/style/index.less
error in ./node_modules/ant-design-vue/es/form-model/style/index.less解决方法:修改babel.config.js文件,将其中的style: true修改为"style": “css”,修改后内容如下plugins.push(['import', { 'libraryName': 'ant-design-vue', 'libraryDirectory': 'es', 'style': "css" // `style:.原创 2020-08-11 16:42:37 · 5664 阅读 · 2 评论 -
yarn代码管理
添加依赖包yarn add 依赖包的名称yarn add 依赖包的名称@版本号yarn add 依赖包的名称@[tag]原创 2020-11-02 14:54:54 · 205 阅读 · 0 评论 -
svn代码管理
下载代码库的代码:svn checkout 服务器地址 --username=用户名 --password=密码 ~/Desktop/svn/AA(本地目录)上传某个文件的代码:1.cd Desktop/svn/AA2.svn commit -m "message" pages/my/index.wxml上传某个文件夹下的所有文件1.cd Desktop/svn/AA2.svn commit -m "message" pages/my注意:cd Desktop/svn/AA.原创 2020-05-19 17:24:30 · 473 阅读 · 0 评论