Welcome to NuxtSAAS ๐
Follow along with the documentation to get your app up and running. Once you're done, follow this documentation to launch your first SaaS startup in a matter of days.
Start a local server & set up environment variables
- In your terminal, run the following commands one-by-one:
git clone https://github.com/artyooooom/nuxt3-saas-boilerplate cd nuxt3-saas-boilerplate npm install git remote remove originNote: NuxtSAAS requires Node 18+. Type
node -vin your terminal to check your version. - Create a new file
.envfrom.env.example: - Go to the Supabase dashboard, create a new project and paste
SUPABASE_URL,SUPABASE_KEYandSUPABASE_POSTGRESin your just-created.envfile. Same with the Stripe dashboard andSTRIPE_API_PUBLIC_KEY,STRIPE_API_SECRET_KEY,STRIPE_WEBHOOK_SECRETandSTRIPE_HOSTvariables. - Open http://localhost:3000 to see your site.
NuxtJS project structure
/pagesโ Pages/serverโ API endpoints/componentsโ Vue components/components/blocks/landingโ Blocks for Landing Building
/dataโ Static data for content / layout elements/layoutsโ Used layouts for pages/middlewares-> Middlewares for the pages/public,/assetsโ Images, assets & other stuff/storeโ Pinia store for Nuxt 3
/app.config.ts
It is where you configure your app's meta info: app name, app logo. Support live chat is connected from here
/nuxt.config.ts
It is where you configure your app's nuxt configuration (such as SEO settings, routing rules, connected modules etc)
/assets/tailwind.css
It is where you configure your app's color palette