frontend-maven-plugin
frontend-maven-plugin copied to clipboard
use npx with yarn
I've gone with yarn, but now I need npx. Do I have to switch to npm?
@delanym I use yarn
with a Vue.js project, and I just invoke npx
and it works without issues. If you have installed npx
globally, it should be able to run without issues. I just tested on a Java project I'm using frontend-maven-plugin
, and it successfully invoked vue-cli-service
.
kinow@ranma:~/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui$ yarn run vue-cli-service lint
yarn run v1.22.5
$ /home/kinow/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui/node_modules/.bin/vue-cli-service lint
DONE No lint errors found!
Done in 4.15s.
kinow@ranma:~/Development/java/jena/jena/jena-fuseki2/jena-fuseki-ui$ npx vue-cli-service lint
DONE No lint errors found!