Closed lxcodes closed 5 years ago
With a new ember projects, I was also able to install ember-sweetalert fine by just including the specific branch in package.json and dumping a component in application.hbs. Still trying to find out what is different between the two projects.
This was the issue for us: If sourcemaps aren't enabled, sweetalert doesn't load.
sourcemaps: {
// enabled: IS_PROD_LIKE, // CMD ALT F in chrome
extensions: ['js']
},
Reopening this as it's a bug that I've also encountered.
On the 1.0
branch, if sourcemaps are disabled then sweet alert doesn't load. No idea where to start with this for the moment but need to work out how to get it working without sourcemaps.
@lindyhopchris Let me know if you need a tester to verify.
Thanks, will do!
Fixed via #18
@lindyhopchris I moved this here to not clog up the 1.0 ( #13 ) pull request.
SweetAlert was still in the bower.json so I removed it from there. After I cleared out the tmp folders, I'm still getting the same error when the
{{sweet-alert}}
component is triggered withtrue
from theshow
computed property.Template snippet
ember -v
package.json
bower.json