question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI Scaffolding progress

See original GitHub issue

One of the new features of nuxi cli, is the ability to scaffold templates for common components such as pages, plugins, etc.

Thanks to the nice initiative from @Baroshem (via #3841) we have the functionality to try with nuxi add 💚 (docs: https://v3.nuxtjs.org/docs/usage/cli/#add)

This issue is to track the roadmap of this feature.

Feature roadmap:

  • nuxi add (#3841)
  • entity management shortcuts (nuxi pages add <name>) (#3903)
  • CLI API service (pending devtools project)
  • Template util from unjs (@pi0)
  • External template support (ideas welcome)

Templates:

  • component
  • composable
  • layout
  • middlware
  • page
  • plugin
  • api
  • app
  • error
  • config
  • nuxtignore
  • tsconfig
  • serverMiddleware

Feedbacks are more than welcome!

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:19
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lazaroofarrillcommented, Mar 29, 2022

Any possibility of extending the cli with external templates. I’d like to add the name property to created components so they are correctly resolved by Webstorm. I don’t know if it be useful enough given most people use vscode but it would help me a lot passing a custom template instead of having to maintain my own version of the cli.

Well just realized it is in the roadmap, I’ll try to come up with something.

1reaction
lazaroofarrillcommented, Mar 29, 2022

Any possibility of extending the cli with external templates. I’d like to add the name property to created components so they are correctly resolved by Webstorm. I don’t know if it be useful enough given most people use vscode but it would help me a lot passing a custom template instead of having to maintain my own version of the cli.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI & RTI - Curriculum Leadership Institute
RTI uses universal screening, progress monitoring, and team problem solving to determine if a student needs behavior or learning intervention, and if so, ......
Read more >
scaffolding with CLI - Feedback and Feature Requests
Hello Victor,. Scaffolding through the command line has not been implemented for our components yet, so we don't have an example to share....
Read more >
Creating a REST API with NestJS — Part 01 — Scaffolding ...
Creating a REST API with NestJS — Part 01 — Scaffolding and basic CLI usage. Welcome back! In the mini series of article...
Read more >
Reverse Engineering - EF Core | Microsoft Learn
NET Core CLI) to instead use Data Annotations when possible. For example, using the Fluent API will scaffold this: C# Copy.
Read more >
Scaffolding - webpack
config.js and your framework code? It's also useful to think about the user experience for your scaffold. webpack-cli offers an interactive experience ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found