Nuxt3 Template

screenshot of Nuxt3 Template
nuxt
vite
vue
scss

Nuxt 3 template for public websites

Overview:

This product is a template for building public websites, specifically optimized for simple static websites with a few APIs. It was created by the developer as a starting point for their personal projects and to benefit other developers. The template includes features such as core Nuxt 3, state management with Pinia stores, Sass theme customization, hybrid rendering, self-hosted fonts, performance optimizations, static checks with Typescript and eslint, e2e testing, internationalization support, accessibility features, CI/CD integration, and analytics integration with Plausible.

Features:

  • Core Nuxt 3 with Vite and Nitro
  • Auto-imports and API routes
  • State management with Pinia stores
  • VueUse functions
  • Sass theme, functions, and mixins for common use cases
  • Hybrid rendering using a combination of SSG and SSR
  • Cache-Control header pre-configured on API and SSR routes
  • Self-hosted fonts using Fontsource
  • 100% Lighthouse score on desktop, 97 on mobile
  • Typescript everywhere with eslint and prettier
  • Pre-commit hook for lint and format
  • E2e tests on multiple browsers, desktop, and mobile using Playwright
  • Script for fetching API data and storing it in local files for offline development
  • Multiple languages support with automatic language detection and redirection
  • Meta and link tags for SEO
  • Accessible navigation for desktop and mobile
nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

pinia
Pinia

Pinia is the official state management library for Vue.js. It provides a simple and intuitive API with full TypeScript support, devtools integration, and modular design. Pinia replaces Vuex as the recommended state management solution for Vue 3.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.