The auto-installation will create a DatoCMS project, a Github repo containing the Nuxt.js blog, and it will deploy the project on Vercel or Netlify. It is just a matter of minutes!
You can start experimenting with DatoCMS and Nuxt right away.
On your local machine you need to set your API token manually. For a quick start, only one read-only token must be set in the
.env file to start working:
echo 'NUXT_ENV_DATOCMS_API_TOKEN=abc123' >> .env
Then you can install the dependencies and start the project:
# install dependencies$ npm install# serve with hot reload at localhost:3000$ npm run dev
Other Nuxt conventional scripts:
# build for production and launch server$ npm run build$ npm run preview# generate static project$ npm run generate
For detailed explanation on how things work, check out Nuxt docs.
You can also take advantage of Web Previews plugin to provide editors an easy way to jump from DatoCMS to your project: an example is available at the plugin page.