gcollazo / brunch-with-ember-reloaded Goto Github PK
View Code? Open in Web Editor NEWA Brunch skeleton for creating ambitious web applications using Ember.js.
License: Other
A Brunch skeleton for creating ambitious web applications using Ember.js.
License: Other
After 'brunch w -s' vendor.js is not created on windows because it wrongly parse path:
/^vendor/scripts/(common|development)/
If I use
/^vendor\scripts\(common|development)/
it begin to work.
Hi, thanks for the great project.
I'm new to this and wanted to add Jade so I installed "jade-handlebars-brunch". Its tests pass but it's not integrated into the compilation step. I could add the Jade compilation step by hand right before "content = compileHBS data.toString()" in index.coffee.
Is there a more graceful way to get Jade working?
Thanks,
I am trying to create a new brunch app based on this skeleton and I am seeing the following error:
C:\Documents and Settings\Kevin\My Documents\emberGadget>brunch new ember-reloaded-test --skeleton https://github.com/gcollazo/brunch-with-ember-reloaded
01 Apr 13:28:40 - log: Created skeleton directory layout
01 Apr 13:28:40 - error: { [Error: ENOTEMPTY, rmdir 'C:\Documents and Settings\Kevin\My Documents\emberGadget\ember-reloaded-test.git\objects\pack']
errno: 53,
code: 'ENOTEMPTY',
path: 'C:\Documents and Settings\Kevin\My Documents\emberGadget\ember-reloaded-test.git\objects\pack' }
➤ brunch g model John
`brunch generate / destroy` command was removed.
Use scaffolt (https://github.com/paulmillr/scaffolt)
successor or similar:
npm install -g scaffolt
scaffolt <type> <name> [options]
scaffolt <type> <name> [options] --revert
brunch: no such command 'g'
brunch watch -s
16 Oct 23:01:19 - error: { [Error: Component must have "/Users/username/Code/testbrunch/bower_components/ember/bower.json"] code: 'NO_BOWER_JSON' }
Hi I'm trying to add a colorPicker plugin into my ember app, but everything I try to declare the didInsertElement method inside my view, it causes brunch to crash. Here's my code:
export default = App.NewView = Ember.View.extend({
didInsertElement: function(){}
this.$('color').simpleColor();
}
});
Any suggestions would be appreciated. I really like using your project!
@icholy's ember-handlebars-brunch is no longer maintained. It still has active issues like Windows support.
@stravid's fork is actively maintained and seems to have solved it. It bumped a version but hasn't published to npm yet.
I tried out your es6 branch, but couldn't get brunch to build the app. I moved the line for es6-module-transpiler-brunch before the line for javscript-brunch in the package.json and this seemed to fix it.
Steps to reproduce:
brunch-with-ember-reloaded
skeleton.brunch w -s
.package.json
in an editor.brunch w -s
running.The server has stopped throwing a EADDRINUSE
exception. It must be running along with the previous one. This doesn't happen in other skeletons, so I guess it has something to do with this one.
OS X 10.8.4, node 0.10.18, npm 1.3.8, brunch 1.7.4. Cheers!
i doubt this is a bug, more likely a misconfiguration on my part, but when i'm trying to run the tests with karma/testacular, my ember app is not defined. i've set up the karam.confi.js file with
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
'public/javascripts/vendor.js',
'public/javascripts/app.js',
'exchange_app/test///*_spec.js',
];
but all of my specs report a ReferenceError of App is not defined. so my global App variable is not being set anywhere.
is there somewhere specific in a config file or elsewhere that i have to declare the app? in my application structure (outside of testing) i have an initalize.js that is require'd in index.html via require('initialize'), and i see that's where window.App = require('app')
i'm assuming this step needs to happen in the test running somewhere? but i just can't figure out where to do it.
i realize that this isn't the best place to ask for help, this isn't an actual bug, but i don't know where else i should ask.
thanks for the great tool gcollazo
Hi,
I'm just getting started with brunch and noticed that when I tried to download the package from brunch I get a ember error with the templates. I've noticed I can fix it by changing the version from ~1.0.0 to just 1.0.0 in package.json. I'm not sure if that is right. The ember.js starter app starts working though.
brunch new gh:gcollazo/brunch-with-ember-reloaded testembersite
cd testembersite
brunch watch -s
The package.json dependencies are:
"dependencies": {
"javascript-brunch": "~1.7.0",
"css-brunch": "~1.7.0",
"stylus-brunch": "~1.7.0",
"uglify-js-brunch": "~1.7.0",
"clean-css-brunch": "~1.7.0",
"auto-reload-brunch": "~1.7.0",
"ember-handlebars-brunch": "~1.0.0"
},
And npm list shows:
├─┬ [email protected]
│ └── [email protected]
So we don't need that as a custom convention anymore.
What I did:
<h1> Hello, World!</h1>
{{view App.TestView}}
require 'views/TestView'
and require 'templates/test.hbs
to initialize.coffeeWhen I run the program, I get the error that it is "Unable to find view at path App.TestView"
What am I missing? This seems like it should be pretty straightforward. Your demo doesn't use any views.
Hi,
As I understand it, templates are precompiled automatically using ember-handlebars-brunch. Therefore, is there a reason why the full Handlebars is included, while only the runtime could be included? Runtime is significantly smaller in size than the full Handlebars :).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.