I want to publish my site in Bluehost.
When I generate the production site with yarn build
, and then accessing the .nuxt
directory to copy all the contents to my bluehost html folder I get just plain text and not the Running site as you can see here.
tecnoeducacion.online
Please tell me if there are more configuration steps before yarn build
yarn generate
is for SSG (target: 'static'
), if you want to host some static files. It's basically JAMstack and hostable on Github pages/Netlify/Heroku etc.
More info here: https://nuxtjs.org/docs/concepts/static-site-generation
yarn build
is for SSR (target: 'server'
), it requires a Node.js server and will generate all the pages on demand on the server.
More info here: https://nuxtjs.org/docs/concepts/server-side-rendering