Home » vue » Add blog posts in a Nuxt content blog

Add blog posts in a Nuxt content blog

Posted by: admin November 26, 2021 Leave a comment

Questions:

I want to create a blog using nuxt since I am familiar with vue js. I have looked at nuxt content module. I understand that i can create markdown blog posts. But, I am confused. If I deploy the app, then How can I add new blog posts?

Thank you.

Answers:

You add the posts before deploying, in your source code, as described in Nuxt Content’s documentation. Then you have to build the Nuxt project and (re)deploy the site.

If you need the ability to edit your blog after deployment, in your browser, and redeploy it after every editing automatically, you would need a service which has access to the source code and has ability to build & deploy your site. Netlify CMS can be one such solution, (especially) if your site’s source code is on GitHub. (It works with private repositories too.)