Back to templates

Template details

Tours Nuxt Full Static

A demo travel blog app for full static in Nuxt with @nuxt/content and @nuxtjs/colour-mode.

About this template

Tours Nuxt Full Static is a demo travel blog template built on the Nuxt.js framework that demonstrates full static site generation using @nuxt/content for content and @nuxtjs/colour-mode for theme switching.

What is Tours Nuxt Full Static?

Tours Nuxt Full Static is a Nuxt.js project that serves as a demo travel blog. It takes Markdown-based content parsed by @nuxt/content and outputs a completely static website through Nuxt's yarn run generate command. The project runs on Nuxt.js, a Vue.js framework, and the repository is tagged with blog, jamstack, and travel-blog topics. No external author is credited; the README simply calls it "My hunky-dory Nuxt.js project".

Key Features

  • Full static generation — Run yarn run generate to produce a fully static site, deployable to any static file host without a server.
  • Nuxt.js framework — Built on Nuxt.js, which brings file-based routing, server-side rendering options, and a Vue single-file component structure.
  • @nuxt/content integration — Uses the @nuxt/content module to load and display Markdown files, simplifying blog post creation.
  • @nuxtjs/colour-mode — Adds a colour mode module for toggling between light and dark presentation, a common blog feature.
  • Travel blog demo content — The structure is tailored to travel destinations and tours, making it a fit for a destination or tour diary site.
  • Yarn workflow scripts — Includes yarn install, yarn run dev, yarn run build, yarn start, and yarn run generate for the full build-and-deploy cycle.
  • Jamstack ready — The project topics include jamstack and static-site, indicating it outputs static HTML and assets suitable for modern static hosting.

Who is it for?

  • Nuxt.js developers — A compact sample for learning how static generation works with @nuxt/content and @nuxtjs/colour-mode.
  • Travel bloggers — A ready-made blog layout with a travel theme, so they can drop in their own Markdown posts and generate a static site.
  • Jamstack adopters — A small example of a Nuxt static site that can be deployed to services like Netlify or Vercel.

What can you do with Tours Nuxt Full Static?

  • Launch a travel blog: Generate the static site and deploy the output folder to any static host to produce a working blog.
  • Write content in Markdown: Add posts as Markdown files, and @nuxt/content will process and render them as part of the site.
  • Experiment with theming: Use @nuxtjs/colour-mode to switch between dark and light appearances and observe how the module integrates state.

How does Tours Nuxt Full Static work?

The project follows a standard Nuxt.js workflow: yarn install installs dependencies, yarn run dev starts a hot-reloading development server at localhost:3000, and yarn run build compiles a production bundle. For a static site, yarn run generate creates a folder of static files, and yarn start launches the built project locally. The README points to the Nuxt.js docs at nuxtjs.org for further explanation.

FAQ

How do I install the dependencies?

Run yarn install in the project root. This installs Nuxt.js, @nuxt/content, @nuxtjs/colour-mode, and any other packages listed in package.json.

How do I start the development server?

Run yarn run dev. The site will be served at localhost:3000 with hot reload, so edits to components or Markdown content appear immediately without restarting.

How do I build a production version?

Use yarn run build to generate a production bundle, then yarn start to run it. For a static site, yarn run generate outputs a static folder that can be hosted anywhere.

Does this project include a server?

No, the static generation build produces pure static files, so the final site does not require a Node.js server at runtime. The yarn start command is only for local preview of the built output.

screenshot of Tours Nuxt Full Static on template0.com