Matt
Matt

Reputation: 1811

Overwrite a node package in ember

How do I overwrite a package in node within ember? For example, a particular component is located here:

node_modules/module/app/templates/components/module_code.hbs

If I edit that file directly, it of course will be overwritten with an upgrade. Can I put the same file:

module_code.hbs

somewhere in my Ember App structure to make adjustments?

Upvotes: 1

Views: 94

Answers (1)

Matt
Matt

Reputation: 1811

Looks like you can put the same file here:

your_ember_project/app/templates/components/module_code.hbs

and adjust it as necessary.

Upvotes: 1

Related Questions