Nuxt 3 Full stack (SPA-SSR) quick start template that pre-includes the Pinegrow Nuxt Module, Vuetify, Pinegrow Vuetify Plugin and other goodies for Vue Designer. This template uses the amazing Vuetify component library and features an eCommerce store, where data is fetched via APIs server by server routes (Nitro-powered).
Demo - https://pg-nuxt-vuetify-tailwindcss.netlify.app/
A desktop visual editor for Vue apps supporting Mac, Windows, and Linux by Pinegrow. Take it for a free trial at Vue Designer!
It lets you visually design 🎨 your Vue single file components and boosts your productivity and creativity while building your component-based Vue apps.
It smartly integrates with your ⚡️ Vite based CLI and provides an amazing developer experience with its powerful visual controls and features.
Clean code 😃, No lock-in - You are in control of your projects and development workflow ❤️
Create a repo from this template on GitHub.
(or)
If you prefer to do it manually with the cleaner git history
npx giget@latest gh:pinegrow/pg-nuxt-vuetify-tailwindcss my-nuxt-vuetify-tailwindcss-app #project-name
cd my-nuxt-vuetify-tailwindcss-app
npm install #or use pnpm
(or)
If you prefer a minimal template (a single empty home page) instead,
npx giget@latest gh:pinegrow/pg-nuxt-vuetify-tailwindcss#minimal my-nuxt-vuetify-tailwindcss-app #project-name
cd my-nuxt-vuetify-tailwindcss-app
npm install #or use pnpm
Open your project in Vue Designer and follow the instructions displayed in the Config Panel (that should pop out automatically). Config Panel ⚙️ displays the key packages and the various links to their individual ecosystems and communities.
npm run dev
npm run build # SPA SSR,
npm run generate # SPA SSG (full-static)
npm run analyze # bundle sizes
npm run now # build & preview
npm run unlighthouse # Uses npx unlighthouse from https://unlighthouse.dev/ to run lighthouse on entire site (all pages)
This project is built and deployed as a fully static site (SSG with npm run generate
), with no API calls made from the client side. To build it as an SSR app, update the Nitro preset in nuxt.config.ts
and build with npm run build
command.
You can deploy this repo as a site on your own to explore and experiment with, by clicking this button.
Check out the deployment documentation for more information.
useState
composable to share state across components.Vuetify - Hundreds of beautifully handcrafted Vue components, easily customizable with a powerful set of utilities, composables and directives.
Tailwind CSS - The amazing utility-first CSS framework.
important: true
setting.Nuxt Vuetify Module - This zero-config Nuxt module helps you set up Vuetify in your Nuxt application in seconds. Provides an amazing abstraction over the necessary setup enabling automatic tree-shaking, ability to use Pure CSS icons (UnoCSS Preset icons), supports Nuxt layers and hooks, and more...
unocss-mdi
. In order to use all iconsets in Vue Designer's icon-picker, follow the instructions displayed in Vue Designer's Config Panel under the Icon Picker tab. Also refer to the nuxt module's official documentation here.i-mdi-home
. Note: The above Nuxt Vuetify module easily integrates UnoCSS Preset Icons into your Vuetify components with no effort.@pinia/nuxt module
. Its light-weight, type-safe, extensible, modular with vue-devtools support.nuxt-site-config
, nuxt-simple-robots
, nuxt-simple-sitemap
, nuxt-og-image
, nuxt-link-checker
, nuxt-seo-utils
, nuxt-schema-org
./__og-image__/image/<path>/og.<extension>
plugins/devtools.client.ts
, uncomment to activate.<script setup>
SFC syntaxThis project allows JS, and strict mode is turned off. Update tsconfig.ts
as required.
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"strict": false
}
}