emberjs / emberjs/ember-inflector
ember-inflector not available in ember-cli generate
Open
- Dominant language
- TypeScript
- Stars
- 107
- Forks
- 78
- Avg merge
- 20h 58m
- Merged PRs (30d)
- 4
Description
I'm trying to use ember-inflector in my custom blueprint but it doesn't seem to be exposing the singularize and pluralize methods. I have verified that ember-inflector is in package.json and node-modules.
Here is some test code I have at the top of my locals function:
```
let Inflector = require('ember-inflector');
console.log('Inflector: ' + Inflector.inflector.pluralize("taco"));
```
It throws this error:
> Cannot read property 'pluralize' of undefined
When I loop through the Inflector object I only get a 'name' property that has 'name0' through 'name14' underneath it.
Contributor guide
Assessment
This issue has not been assessed yet.