K
K
kr_ilya2019-04-16 07:24:01
Node.js
kr_ilya, 2019-04-16 07:24:01

How to properly use vue + node js in WebStorm in one project? And a few other related questions?

Good afternoon.
I just started learning node.js in conjunction with vue.js and immediately took a closer look at the WebStorm editor. I created a node.js project, output Hello World to the console - everything works. I immediately decided to create a vue project, but I came across a few questions.
1) When creating, the error "git" 'there are some symbols'

like this
wYHuIH6JvzDuqXjto7P2_A.jpeg

2) Is it normal that they (vue and node projects) will be in different folders? How will they be located on the server?
3) To make it all work locally, what do you need? OpenServer to run and do everything in its folder (site.ru)? How will node js work then?
There are many questions, you need to understand. Please answer on the topic, and do not throw stones, and do not send to Google.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-04-18
@Robur

1) a very strange thing - does the git itself work for you? It is better to create projects through the terminal, rather than the wizards built into the webstorm. The old fashioned way - create a folder, make a turnip, initialize npm, and all that
2) is fine. It will be located on the server as you like. Even on different servers.
3) for a nodejs application to work, you need a node. For a vue application to work, the easiest way is to create it through https://cli.vuejs.org/ - everything will be there for development along with a web server. A separate web server is needed only for production.
But googling is still useful.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question