Devil May Code...

Vergil's Blog

今天在写Laravel+Vue项目时,发现Laravel-mix发现对ES6的object spread操作符「...」不支持。升级Laravel-mix后未果。


// package.json
"dependencies": {
  "babel-plugin-transform-object-rest-spread": "^6.23.0"
"babel": {
  "plugins": ["transform-object-rest-spread"]

仅有一条评论 »

  1. It looks like you've misspelled the word "conection" on your website. I thought you would like to know :). Silly mistakes can ruin your site's credibility. I've used a tool called in the past to keep mistakes off of my website.


添加新评论 »


Powered by Typecho.