Comments (5)
@hy-brasil hey, can you describes the steps you used to that resulted in the problem?
from ember-radio-button.
Hiy stefan,
I just installed it as per instructions:
npm install ember-radio-button --save-dev
And then used the radio buttons in my template:
{{#each class in model.classes}}
{{#radio-button value=class.class_id groupValue=selectedClass changed="classChanged"}}
{{class.class_name}}
{{/radio-button}}
<br/>
{{/each}}
And in my controller defined the 'classChanged'
And it all worked fine.
Then i thought I would deploy it ...
So I did
ember build --environment=production
And then when I navigate to the page I get the console output:
Uncaught Error: Could not find module ember-radio-button/components/radio-button
And thats all the steps really...
ember version: 0.1.2
node: 0.10.24
npm: 2.1.3
from ember-radio-button.
@denisnazarov any ideas?
from ember-radio-button.
@stefanpenner Seems to be fine in all of the apps we use it in. The file it is referencing is in https://github.com/yapplabs/ember-radio-button/blob/master/addon/components/radio-button.js
It is in the addon dir, not the app dir. The component in the app dir references it like so: https://github.com/yapplabs/ember-radio-button/blob/master/app/components/radio-button.js
I will try to dig deeper and build it in a clean app later.
from ember-radio-button.
Ok, I've tried again by creating a new app and installing the radio buttons.
And build for production environment.
And it works when deployed to server.
So, now trying to figure out what is the difference between that and my app.
from ember-radio-button.
Related Issues (20)
- make keyboard navigable according to WCAG-A
- DEPRECATION: `hasBlock` is deprecated. Use `has-block` instead. HOT 4
- Where is Version 3 for Ember. 3.16? on EmberObserver? HOT 6
- Trying to upgrade to newer version
- multiple depreciations detected in 2.0.1
- `aria-checked` not being set on `master` branch HOT 3
- Changes on master have not yet been released HOT 22
- groupValue Documentation a bit confusing HOT 1
- Error: You cannot use `attributeBindings` on a tag-less component HOT 4
- <input> field isn't including a correct "value" attribute in the DOM in IE11
- autofocus attribute not supported HOT 1
- groupValue not updated on button deselect HOT 6
- Allow specifying a label using inline invocation HOT 3
- CRUD : Edit does not retain previous value HOT 2
- Upgrade ember-cli-htmlbars to remove deprecation warning HOT 3
- Question: What is this syntax in render of a test HOT 3
- aria-checked not used?
- Replace sendAction with closure actions HOT 10
- Remove `labeled-radio-button`
- How do I add data attributes to radio-button ? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-radio-button.