Kisiara
362
1
Vue

Adding the rest and spread operator to a laravel/vue application

Posted 2 years ago by Kisiara

Whilst developing a plain vue application, I had the ability to add the rest & spread operator, ...mapActions([]), by downloading a babel package(babel-preset-stage-2) and making edits to the babelrc file.

However, i cant find the babelrc file in a laravel application. So how do I use this syntax within vue in a laravel application.

Please sign in or create an account to participate in this conversation.