Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
Angular Storybook - Is there a way to generate .stories.ts files automatically

I'm looking to generate a .stories.ts file inside a component folder once we have run ng g component my-component.

The final result should look somehting like this:

my-component

  -my-component.component.html

   .

   .

   .

  -my-component.stories.ts

What I've found so far is a PR that seems to be resolved about using angular with storybook, but i can't find something that explicitly tells how i can do this

The other solution i came across is creating the sript that generates this extra file by myself so that i can run somehting like: ng g component my-component && node generate-story-file.js my-component

Does anyone know if there is another solution?

Thx

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!