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.

Allow to have templates for index, stories and test files?

See original GitHub issue

Is it possible to also write templates for index.js, template.stories.js and template.spec.js? When I try it with my current templates it does not output it correctly or am I doing it wrong?

I can’t find that much docs on how to do this, nor how to use the COMPONENT_NAME in an import COMPONENT_NAME from './COMPONENT_NAME.js

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

CVariscocommented, Aug 2, 2017

Woooooo πŸ” πŸŽ‰

I’m very happy for you πŸ™‚ ! I hope that my project will be the first of a lot of others πŸ₯‡

I published a new version (v0.8.5) on NPM with your fix! Thanks again and have a nice day πŸ‘“

nealokecommented, Aug 2, 2017

See #27 πŸ‘

My first contrib to anything opensourced πŸ”₯ πŸš€ πŸ˜„

Read more comments on GitHub >

github_iconTop Results From Across the Web

Index templates | Elasticsearch Guide [8.5] | Elastic
Index templates can contain a collection of component templates, as well as directly specify settings, mappings, and aliases. The following conditions apply toΒ ......
Read more >
Customize a process template - Azure DevOps & TFS
Process template files and functional areas you can customize ... You can make and test changes by using an existing project.
Read more >
How To Use Templates in a Flask Application - DigitalOcean
Next, you'll have to create the index.html template file in a directory called templates inside your flask_app directory.
Read more >
Build a simple component - Storybook Tutorials
Get set up. First, let's create the task component and its accompanying story file: src/components/Task.js and src/components/Task.stories.js .
Read more >
17 User story examples for when the ink runs dry - Justinmind
Get your team on the right track with these awesome user story ... come in the form of downloadable templates such as Word...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found