Message Boards

blade gw deploy with vue-cli

Renan Monteiro, modified 3 Years ago.

blade gw deploy with vue-cli

New Member Post: 1 Join Date: 2/2/21 Recent Posts

I am trying to build a portlet using vue-cli to build a vue.js project, so when I run blade gw deploy, the build comand on package.json builds the project, then liferay-bundler runs, but I am getting the following error: vue-cli-service: not found. I have installed the vue cli and added it as dependency but blade command cannot find it on build proccess.
    

How can I use vue-cli or other cli tool during the blade gw deploy command?