Parcel: 馃檵 How to use with custom php project ( Replace with Laravel Mix )

Created on 31 Mar 2018  路  3Comments  路  Source: parcel-bundler/parcel

I am currently using Laravel-mix for my projects and I would like to use parcel. Here is my laravel mix configuration:

let mix = require('laravel-mix');
mix.js('src/js/vue-app.js', 'assets/js/');

So This compile my vuejs project and give me a vue-app.js file and I am currently using the file in my WordPress project.

I would like to know how I can achieve this with parcel.js

Question

Most helpful comment

try parcel src/js/vue-app.js --out-dir assets/js/

All 3 comments

Same question

try parcel src/js/vue-app.js --out-dir assets/js/

try parcel src/js/vue-app.js --out-dir assets/js/

Thanks it works perfectly

Was this page helpful?
0 / 5 - 0 ratings