A
A
Artem Prokhorov2021-09-19 23:56:14
Vue.js
Artem Prokhorov, 2021-09-19 23:56:14

Is it possible to use node.js functions in a vue project and how?

Well, for example, to use functions for working with files, but through the client?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-09-20
@kotcich

No.
Browser js does not have features that are only available in Node. For example, working with files and the network (except for fetch).
If you need to work with files on the server, then make http-api for this.
If you need to work with files on the client, then take FileSystem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question