Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

264
Vistas
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

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda