this-oliver / template-client

a Nuxt.js template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt Template

Build apps faster with templates 🔥

The purpose of this project is to provide a template for Nuxt projects so that I can quickly start new projects without having to set up the same things over and over again.

🧪 Features

  • Base Components (buttons, inputs, etc.)
  • State Management with pinia
  • Responsive UI Framework with vuetify
  • User-friendly editor with tiptap
  • Multi-language support with vue-i18n (See locales/README.md for more info).

Getting Started

For the best experience, use nodejs@18.18.0 and pnpm@8.9.2

# install dependencies (alternatively, use `npm install`)
pnpm install --shamefully-hoist

# serve with hot reload at localhost:3000 (alternatively, use `npm run dev`)
pnpm dev

# build for production and launch server (alternatively, use `npm run build`)
pnpm build

🚀 Deployment

Docker Support

# build image (pnpm docker:build)
docker build -t nuxt-template .

# spin up container (pnpm docker:run)
docker run -p 3000:3000 --env-file .env nuxt-template

⛓️ Dependencies

  • Base Components (buttons, inputs, etc.)
  • State Management with Pinia
  • Responsive UI Framework with Vuetify
  • Multi-language support with vue-i18n
    • @nuxt/i18n
    • @intlify/unplugin-vue-i18n/vite (optimizes purposes as explained in this guide)
  • User-friendly editor with tiptap
    • @tiptap/vue-3 - core library
    • @tiptap/pm - prosemirror for tiptap
    • @tiptap/starter-kit - basic editor styling
    • @tiptap/extension-placeholder - placeholder for empty editor
    • sass for editor styling

About

a Nuxt.js template


Languages

Language:Vue 72.0%Language:TypeScript 26.4%Language:Dockerfile 1.4%Language:CSS 0.2%