linemanjs / lineman-ember-template Goto Github PK
View Code? Open in Web Editor NEWClone this template to get started with Ember using Lineman
Home Page: linemanjs.com
License: MIT License
Clone this template to get started with Ember using Lineman
Home Page: linemanjs.com
License: MIT License
I'm not sure if this is a lineman issue or an Ember issue, but I'm getting very inconsistent results with handlebars recompilation. It always fails silently to recompile when I edit hello.hb
to add a new div (for example). Lineman sees the change:
Running "watch" task
Waiting...OK
>> File "app/templates/hello.hb" changed.
Running "handlebars:compile" (handlebars) task
File "generated/template/handlebars.js" created.
Running "concat:js" (concat) task
File "generated/js/app.js" created.
Running "watch" task
Waiting...
The page does reroute to http://localhost:8000/#/hellos/1 but the template in the browser doesn't appear and I get a white screen. There are no console errors, either, just that deprecation warning:
I'm using lineman 0.7.0
. Any thoughts before I start updating Ember? :D
Steps to reproduce:
npm install
.lineman run
.app/templates/hello.hb
and make a trivial edit.ember_handlebars:compile
ran.I seems to me like lineman run
is not running ember_handlebars:compile
as expected. I've played around with order append/prepend etc with no luck.
Any suggestions?
Hi Guys
newbie to js web dev here.
Thank you so much for making this!
I was wondering if there's anything I should worry about if I decide to replace the vendor ember.js file with the latest (1.5.2)?
Thanks!
Here's what happens: I clone this repo, run npm install
and lineman run
. If I edit app/templates/hello.hb
, before I run lineman run
, my changes show up when I visit http://localhost:8000/#/hellos/1. But if I start lineman run
and then edit said template and refresh the page, nothing changes in the browser.
What I do see: (a) lineman recompiling my templates (see code below), and (b) in /generated/tempate/handlebars.js
I see the line I added to the file.
What I don't see: even if I open the url in a new browser, I don't see the change I made to the html.
Does this work right for you? Any thoughts about what I might be doing wrong? (Worth noting: I have written an app using Lineman and Angular, so I was able to get things working elsewhere! ๐)
Running "watch" task
Waiting...
OK
>> File "app/templates/hello.hb" changed.
Running "ember_handlebars:compile" (ember_handlebars) task
File "generated/template/handlebars.js" created.
Running "watch" task
Waiting...OK
>> File "app/templates/hello.hb" changed.
Running "ember_handlebars:compile" (ember_handlebars) task
File "generated/template/handlebars.js" created.
Running "watch" task
Waiting...
I tried to do this over here https://github.com/jlsuttles/lineman-ember-template/tree/update-vendor-js but the javascript is compiling with a syntax error and I'm not sure why.
The generated project ships with Ember 1.0, while the most recently released version is 1.3.2. Are there plans to upgrade this, or is this left up to the user?
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.