解决:Uncaught ReferenceError: regeneratorRuntime is not defined
解决:Uncaught ReferenceError: regeneratorRuntime is not defined
$ npm i –save-dev babel-plugin-transform-runtime
其实我一直在你身边
解决:Uncaught ReferenceError: regeneratorRuntime is not defined
$ npm i –save-dev babel-plugin-transform-runtime
df -h 查看硬盘空间
du -sh 查看文件夹大小
du -h 查看文件夹下所有文件大小
php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs
composer update 会读取 composer.json中指定的依赖
composer install 会优先读取composer.lock,如果没有composer.lock 用法跟composer update一样
vue element 时间选择 rule验证 坑
getTime() is not a function
修改rule ,把 type: ‘date’ 去掉
el-table html标签转义
scope.row.content
The ‘mode’ option has not been set,
webpack will fallback to ‘production’ for this value.
Set ‘mode’ option to ‘development’ or ‘production’
首先安装n模块:npm install -g n
升级node.js到最新稳定版: n stable
npm install vue-quill-editor –save
import VueQuillEditor from ‘vue-quill-editor’
Vue.use(VueQuillEditor)
安装axios cnpm install axios –save
import axios from ‘axios’
Vue.prototype.$http = axios