I'm using nuxt.js using the universal mode for pre-rendered html pages and have my secret key from Google reCaptcha.
Where in the nuxt.js application is the best place to store secret your keys? Do they do in the env object in nuxt.config.js?
export default {
env: {
secret: process.env.SECRET
}
}
Also how does this work when the application is generated with nuxt generate and the aplication is client side? The env file stays on the server and never exposed to the client or does everything get compiled and packaged to send to the client?