Skip to main content

All Questions

Tagged with
3 votes
1 answer
5k views

How can I access vue project which is running by npm run server command from any other computer or mobile that is connected in the same network?

I am running a VueJS project in Ubuntu v18.04. When I run the project using npm run serve, it works fine and I can … - access it in my Local: http://localhost:8080/. - also access it using Network: ...
Ishmam Haque Bhuiyan's user avatar
1 vote
0 answers
265 views

TypeError: Path must be a string. Received undefined error after doing npm run build

I'm new to webpack and want to use html-critical-webpack-plugin in my vue.config.js file which is created by vue-cli3. But I get this error while using const path= require('path') in my vue.config.js ...
Code_miss's user avatar
0 votes
1 answer
48 views

import js module in js file in vuejs2

I've started a project with the new vue-cli 3.0 and I've added the qwery npm module in node package.json npm i qwery and in my-file.js which is at same level as main.js I import it the following way: ...
Bat Man's user avatar
  • 499