An extension offering commands and tools to make your experience with Nuxt.js more pleasant.
An extension offering commands and tools
to make your experience with Nuxt.js more pleasant!
With just a few clicks or using commands and context menus, you can effortlessly create all the necessary directories and files for your Nuxt.js project, including Vue/TypeScript files, special files like .nuxtignore, and app.config.ts. The flexibility extends to supporting both flat and subdirectory structures.
You can customize Vue file templates using the following settings:
"nuxtr.vueFiles.firstTag": "template",
"nuxtr.vueFiles.script.type": "setup",
"nuxtr.vueFiles.script.defaultLanguage": "ts",
"nuxtr.vueFiles.style.addStyleTag": true,
"nuxtr.vueFiles.style.alwaysScoped": true,
"nuxtr.vueFiles.style.defaultLanguage": "scss"
And auto open the created file using:
"nuxtr.openItemsAfterCreation": true

undefinedPackage Manager Detection: Detecting your package manager if a lock file exists. Or letting you choose which package manager to use with this setting. You can select your default package manager from the setting:
"nuxtr.defaultPackageManager": "pnpm"
undefinedDependency Removal and Upgrade/Downgrade: From sidebar inside project view, You can remove or upgrade/downgrade your dependencies by selecting which version you want to install.
undefinedStatus Bar Icon: In your statusbar you can see your outdated dependencies and update them with few clicks.

undefinedNuxt Snippets: You can use Nuxt snippets by typing nuxt for components, use for Composables or just start typing Nuxt utils and selecting your snippet from the list.
undefinedCustom Snippets: Easily manage your custom snippets from the sidebar. You can create, edit or delete your snippets.
More on this side of the extension is coming soon!

To provide users with greater flexibility in customizing their Vue files, we offer the ability to create and utilize personalized templates. These templates can be set as defaults or used selectively as per the user’s preference.
We currently support two types of templates for ensuring a consistent user experience: .page-template and .layout-template. When Nuxt.js is loaded, these files are treated as regular Vue files, simplifying the editing process. Templates creation can be done from existing respective files via context menu item or empty templates from sidebar.
You can set your default template from these settings:
"nuxtr.vueFiles.pages.defaultTemplate": "default.page-template",
"nuxtr.vueFiles.layouts.defaultTemplate": "default.layout-template"

Nuxtr supports srcDir, serverDir and monorepo projects. You can set your srcDir from your nuxt.config.ts file and Nuxtr will create files/directories in the right place for you.
"srcDir": "src",
"serverDir": "server"
Or locate your nuxt project in your monorepo using this setting in .vscode/settings.json:
"nuxtr.monorepoMode.DiretoryName": "directory-name"
Main scripts are available from command palette, if you want to use a custom command you can find it in the sidebar. Besides nuxt dev command, all other commands run in the background and you can see the output in the VSCode output channel.

Nuxt Devtools is a great tool! One of the great features it offer is working globally with your project if you are using Nuxt <= 3.4.0. You can toggle it from your status bar. Extension detects your Nuxt.js version and advices you to update if not.
Manual toggling from nuxt.config.ts is detected and state is synced.

Almost full support for Nuxt modules with a typical searching/filters experience as Nuxt Modules directory. Once you have found your desired module and detected your package manager, it will be installed and added to the nuxt.config file. A success message will be displayed, along with a button to access the module documentation.
Starting from v0.1.0, you can filter integration types (modules/layers) from the sidebar.

You can install and configure most CSS frameworks with few steps:
Same for linters:
More coming soon.

MIT License © 2023.
We always welcome new ideas! 💚
If you have any idea, feel free to open a discussion first and let’s talk about it!
Nuxtr VSCode relies on the following projects/repositories:
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.