Command ‘vue’ not found……. Somehow I was able to solve.
Type the code according to the manual.
The usual Django rhythm keeps things crisp.
In no time at all, I had a convenient management screen up and running, and I was smiling all the while.
Cannot execute “vue create” after “sudo npm i -g @vue/cli” command
Three hours have passed from here…
I ran it through path, uninstalled it once, and everything else didn’t work, but finally, I followed the instructions I found on Stack overflow and typed the command and it worked.
Here’s the command at that time:
<1> Create a directory for global installation in the home directory.
<2>Configure npm to use the new directory path.
npm config set prefix '~/.npm-global
<3> Open the ~/ .profile file and add the following line
<4> Update system variables
<5> Installing packages globally
sudo npm i -g @vue/cli
This time the settings are as follows
Cute installation screen.
It took a few minutes to install, but it was fun to look at all the different icons, etc.
After starting the server, I was able to display it successfully.