“fs is not defined” How can I use fs within a VueJS file
问题 I have been researching online and many others have ran in to similar problems that were left unresolved. Why is that I can't use fs in VueJS file, I have read that it cannot be called on the client side however it is used within the docs so what am I doing wrong? https://socket.io/docs/client-api/#With-a-self-signed-certificate socket.js file: const fs = require('fs'); var https = require('https').createServer(app, { key: fs.readFileSync('server-key.pem'), cert: fs.readFileSync('server-cert