-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ember support #442
Comments
Not yet set in stone, but I'm open to it! I'm curious what Ember uses for bundling, does it use Webpack? |
I've been thinking about this ever since I first tried out CodeSandbox, and I came here today to look at what would be needed to support Ember. I'd love to help get something working if there's any interest at all 👍
Ember uses Broccoli, which is pretty low-level. There's a lot of tooling built on top of it, all handled through Creating an ember application goes like this: npm install -g ember-cli
ember new my-app Running a local dev server: ember server Making a production build: ember build --environment=production Running tests: ember test AddonsThe general idea is that you use ember-cli, and then extra libraries and build-time extras are managed through ember addons. For example to use ember install ember-cli-autoprefixer Sass? ember install ember-cli-sass These types of addon normally hook into the build pipeline to transform the code at the right place using broccoli ( Moment.js? ember install ember-moment This will both add the library to the build and make some components and helpers for working with Moment available. You wanna deploy to surge? ember install ember-cli-surge
ember surge --login
ember surge Ember Observer is where one can go to find out about these. Addons can do these things:
Addons with CodeSandboxReplicating Ember addons have the keyword BowerEmber apps used to require AlternativesAt the moment one can create ad-hoc alternatives to CodeSandbox by loading the right scripts into something like [Codepen](codepen.io], jsbin, jsfiddle or similar, but all of these alternatives mean you have to use the globals-based version of Ember. None of them allow you to use the file structure, addons, and similar. The closest you can get to the local setup is with Ember Twiddle, which is built specifically for Ember and the kind of scenarios that CodeSandbox helps with. CodeSandbox has some pretty clear advantages though, like the interface in general, the editor and the integrations with GitHub (Ember Twiddle loads and saves gists). First versionTo get a working first version of this, we could ignore these things:
And support these things:
|
I'm also interested in this. Any help on where to get started implementing this? |
Is there documentation on how to implement a new framework? If so I would not be opposed to helping out |
Hey @jrock2004, that would be really nice! We don't have official documentation yet, however we have reference work and a small explanation. We recently got a PR for a new custom template: #665. This PR does a really good job at implementing a new template. I also wrote an explanation here: #628 (comment). Let me know if you have any other questions! I'm really interested in how good Ember support we can get 😄 |
I would also very much appreciate ember support :-) |
Ember has been added :D |
@SaraVieira I just tried creating new ember project and it does not work. Should I open a new ticket? |
Also, I think for this to be completed, we need the terminal able to add files to the file list view. last I checked, that didn't work. :(
|
/cc @mike-north |
Hey! Getting the terminal commands will be done when we may transfer it to server ones so you have ember CLI installed If there is a problem with the template please create a new issue Sorry but it's better for us to keep track of issues :/ |
@SaraVieira I was just meaning that files generated with the CLI don't show up in the sidebar.
|
Ohhh, that is weird, that is a bug :o Do you mind making an issue with that specifically so we don't forget about it ? |
Is Ember actually on Codesandbox? I can't see it anywhere. edit: sorry, I didn't check the "Server templates", shouldn't it be also listed under "Client templates"? |
Weird, I would think Angular also needs the container technology to work, but that doesn't seem to be the case. |
Yeah, the code in the angular sandbox to hack the building into the browser is gnarly. The ember sandbox is super simple, and just runs ember-cli |
Any thoughts about getting Ember added in here?
The text was updated successfully, but these errors were encountered: