If you want to have pre-rendered content, you can use services like prerender.io as explained in the official documentation: https://ssr.vuejs.org/#what-is-server-side-rendering-ssr
Keep in mind that this is different from SSG/SSR and is sub-par on some points.
You can use Gridsome too but this is not moving as quickly and Nuxt do have a bigger community.
If you don't have any limitations, you should probably be using a project generated with a CLI. This is still the most production
-aimed way of working with Vue/Nuxt.
Using a CDN do have several drawbacks.
You don't need to be afraid of Nuxt. Start by typing npx create-nuxt-app my-cool-project
and check what you do want to use. When it's done, aim at the documentation and start reading some of it's features.
You will probably need ssr: true
(default value) and target: 'static'
. yarn && yarn dev
and then, it's a matter of using the fetch()
or asyncData()
hooks.
You don't need to use them all and you can have all of your app Server Side Generated (called SSG) done for you without even noticing.
Actually, you need to understand what is happening only when you do have an issue. For the most part, you can follow the conventions and keep using it as a Vue app for the most part.
I saw some people totally new to Nuxt, who migrated from Vue (CLI tho) successfully without any issues within few hours. Of course, it depends on how comfortable you are and the complexity of the app, but it's totally doable.
PS: you need to know that Nuxt is only compatible with Vue2 as of today tho. More to come in 2 weeks during NuxtNation.
Also, I'm watching the nuxt tag daily, so you can totally come back here and post a properly formatted question, I'll probably be able to help you with your issue (I'm a Nuxt.js ambassador). If not, I'll send you to the right people/place to debug your issue.