💧 generate code with plop

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

Комментарии • 27

  • @JamesQQuick
    @JamesQQuick 4 года назад +2

    yaaaaa!! Such a nice addition to an embedded markdown blog!

  • @JamesQQuick
    @JamesQQuick 4 года назад +2

    and definitely interested in the next video!!

    • @bradgarropy
      @bradgarropy  4 года назад +1

      It'll drop on Monday or Tuesday of next week!

  • @ThisAintMyGithub
    @ThisAintMyGithub 2 года назад +2

    This is phenomenal. Thank you for the tutorial!!!

  • @MaxProgramming
    @MaxProgramming 4 года назад +2

    Amazing work! I hope many unique things are coming up.

    • @bradgarropy
      @bradgarropy  4 года назад +1

      I'll keep posting new stuff as I learn new stuff!

    • @MaxProgramming
      @MaxProgramming 4 года назад +1

      @@bradgarropy 👍

  • @meme4living751
    @meme4living751 2 года назад +1

    Watching this video has given me enough clarity to understand the documentation.
    A big thanks to you, man.
    A plop generated file system keeps the architecture of files consistent.
    Between a documentation created for file structure or a plop generator available to use in a project, which:
    1. Is commonly used
    2. should be employed across the app lifetime?
    Any opinions from anyone?

    • @bradgarropy
      @bradgarropy  2 года назад

      Documentation is the "easier" route. Generators like plop become more common the larger your team and codebase gets. I've used plop in companies like Adobe and Atlassian with large teams to maintain consistency.

  • @codingcocoon
    @codingcocoon 3 года назад

    Great tutorial, Plop.js looks like a real time saver. Thanks for the video!

  • @kabeerali6830
    @kabeerali6830 2 года назад +1

    Can I use plopjs without CLI, just programmatically (no prompt, just json data). Sorry if it's a stupid question.

    • @bradgarropy
      @bradgarropy  2 года назад +1

      Yep! The underlying logic is exposed in a package called node-plop. Here's the link:
      github.com/plopjs/node-plop
      And it's referenced in this section of the plop documentation:
      plopjs.com/documentation/#further-customization

    • @kabeerali6830
      @kabeerali6830 2 года назад +1

      @@bradgarropy Thank you so much. You are so awesome! subbed!

  • @neerajrajpurohit7766
    @neerajrajpurohit7766 3 года назад +1

    Thanks for the video!

  • @olehhlova9833
    @olehhlova9833 2 года назад +1

    nice, thank's))

  • @malikwilliams3113
    @malikwilliams3113 4 года назад +1

    Great video. Just earned a new subscriber. Keep it up.

    • @bradgarropy
      @bradgarropy  4 года назад

      Really appreciate the positive feedback! I've got more stuff coming up on Rollup, Svelte, and Netlify Identity!
      Always open to suggestions as well.

  • @larranagafermin8620
    @larranagafermin8620 4 года назад +2

    Great video!

  • @rajkb2755
    @rajkb2755 3 года назад +1

    Yeoman Vs Plop Vs CookieCutter Vs Hygen, which one to choose?

    • @bradgarropy
      @bradgarropy  3 года назад

      I've never used CookieCutter or Hygen.
      I would say Yeoman is more for dynamically scaffolding out new projects. For example, an example Yeoman flow might as you to pick JavaScript or TypeScript, what CSS framework to use, and if you want to include testing support or not, then scaffold out that entire project for you.
      Plop on the other hand is for existing projects, where you want to generate a new component, test, or blog post skeleton quickly.
      So you can actually use both Yeoman and Plop together! Yeoman would be installed globally on your system, and Plop would be a dependency of your project.

  • @williammyers5787
    @williammyers5787 3 года назад

    Great stuff, helpful and well made.

  • @boot-strapper
    @boot-strapper 3 года назад +1

    How to do logic to control whats written into a file?

    • @bradgarropy
      @bradgarropy  3 года назад

      You use Handlebars templates to control what is written into a file. All data collected from the prompts is available as variables in the Handlebars template.
      Check out this part of the video:
      ruclips.net/video/NKW65IVwm6k/видео.html
      If you want more control over how data is written into a file, you can use a Custom Action.
      plopjs.com/documentation/#custom-action-function-

    • @boot-strapper
      @boot-strapper 3 года назад +1

      @@bradgarropy I saw your sequel video right after I commented. I will follow that pattern!! Thanks

  • @sergiyrudenko905
    @sergiyrudenko905 8 месяцев назад

    How to use plop with react?

  • @secretsml5055
    @secretsml5055 3 года назад

    plop.gg to find a plop to code with