N
Nuxt2mo ago
mihail

Trying out latest Nuxt UI Pro v3 SaaS template

I’d like to try out the latest Nuxt UI Pro v3 SaaS template available here: https://saas-template.nuxt.dev When running npx nuxi init -t github:nuxt-ui-pro/saas my-saas (as per instructions here: https://ui.nuxt.com/getting-started/installation/pro/nuxt#use-an-official-template - I seem to be getting one of the older SaaS templates (which also appears broken, i.e. see how the here buttons are behind the background image) on the attached screenshot. How do I use the npx nuxi... command to fetch the latest Nuxt UI Pro v3 SaaS template?
No description
3 Replies
kapa.ai
kapa.ai2mo ago
Hi @mihail. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the knowledge sources, I can see that you're trying to access the latest Nuxt UI Pro v3 SaaS template, but you're encountering issues with the command you're using. The issue appears to be related to how you're trying to fetch the template. According to the documentation, Nuxt UI Pro has recently undergone a major version update from v1 to v3 (skipping v2 for consistency with UI versioning). This might explain why you're getting an older template. To use the latest Nuxt UI Pro v3 SaaS template, you should: 1. Make sure you're using the latest version of Nuxt CLI:
npx nuxi@latest init -t github:nuxt-ui-pro/saas my-saas

npx nuxi@latest init -t github:nuxt-ui-pro/saas my-saas

2. If you're still having issues, you might need to install Nuxt UI Pro v3 directly:
pnpm add @nuxt/ui-pro@next

pnpm add @nuxt/ui-pro@next

or with your preferred package manager as shown in the migration guide. 3. Note that Nuxt UI Pro v3 is now considered a module rather than a layer, so your configuration should be:
export default defineNuxtConfig({
modules: ['@nuxt/ui-pro']
})

export default defineNuxtConfig({
modules: ['@nuxt/ui-pro']
})

Instead of the previous approach that used extends as documented in the migration guide. Remember that Nuxt UI Pro requires a license for production use, though it's free for development. You'll need to activate your license when deploying to production as explained in the installation guide. If you continue to have issues, you might want to try using the GitHub template directly through the GitHub interface using the "Use this template" button on the repository page, as mentioned in the Nuxt UI Pro getting started documentation. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@491637045865742356> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
mihail
mihailOP2mo ago
Adding #v3 at the end of the github repo name seemed to have helped, e.g.: npx nuxi@latest init -t github:nuxt-ui-pro/saas#v3 my-saas

Did you find this page helpful?