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"]
}

已有 5 条评论 »

  1. Greetings,

    I'm not the best speller but I see the word "conection" is spelled incorrectly on your website. In the past I've used a service like SpellAlerts.com or SiteChecker.com to help keep mistakes off of my websites.

    -Sarah

  2. In case you didn't realize, the word "conection" on your site is spelled incorrectly. I had similar issues on my website which hurt my credibility until someone pointed it out and I discovered some of the services like SpellHelper.com or SpellingCheck.com which help with these type of issues.

  3. In case you didn't realize, the word "conection" on your site is spelled incorrectly. I had similar issues on my website which hurt my credibility until someone pointed it out and I discovered some of the services like SpellHelper.com or SpellingCheck.com which help with these type of issues.

  4. It looks like you have a couple spelling errors on your website such as the word "conection". Check out a service like SpellAce.com to help. We've used it in the past and liked it.

  5. 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 SpellScan.com in the past to keep mistakes off of my website.

    -Kerri

添加新评论 »

在这里输入你的评论...

Powered by Typecho.