require Nodejs (NW.js)

Asked

Viewed 44 times

0

inserir a descrição da imagem aquiThen I would like to know the following, if I work with Node js to create websites I can create example: a file CONEXAO.js and then give the require of it in another file to use it, until then all right.

But I’m developing in nw.js. And I try to create the same thing and give the require more and as if it didn’t exist, this way is it possible to do in nw.js? if yes as please

  • Enter the code of how you are doing, and the error that appears to you, and the locations where the files are.

  • Hello I put the photo, it is there divide, from the left loado is my module exported and right require in it

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.