You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.
with gulp:build template cache is not working. I have a app/ppv/ppv.html template that the browser still requests and gets a file not found. I looked and I see the app/ppv/ppv.html is in the ./tmp/templateCacheHtml.js. I also see it in the minified code.
I had to use gulp-sourcemaps-1.6.0 because the newest version is broken. Not sure if that matters.
note: I have noticed on another fountainjs repo I have, which gulp build works, templatecache comes last instead of before ngRoute. Not sure if this is the root cause.
one@development ~/github/ohoh $ uname -a
Linux development 4.1.15-gentoo-r1 #1 SMP Sat Jan 30 18:32:25 CST 2016 x86_64 QEMU Virtual CPU version 2.0.0 AuthenticAMD GNU/Linux
one@development ~/github/ohoh $ yo --version
1.8.4
one@development ~/github/ohoh $ npm --version
3.10.6
Node.js v4.2.2
linux 4.1.15-gentoo-r1
The text was updated successfully, but these errors were encountered:
dman777
changed the title
gulp build - template cache- browser request html regardless
template cache breakage- does not come last but before ngRoute?
Oct 27, 2016
I was experiencing the same error, for a different reason. For the sake of others, the templateUrl requires a relative url to match the gulp-angular-templatecache generated template definitions. Trivial to find and replace, and obvious in hindsight, but rather puzzling when you finally get around to building and it fails.
Description
with
gulp:build
template cache is not working. I have aapp/ppv/ppv.html
template that the browser still requests and gets a file not found. I looked and I see theapp/ppv/ppv.html
is in the./tmp/templateCacheHtml.js
. I also see it in the minified code.I had to use
gulp-sourcemaps-1.6.0
because the newest version is broken. Not sure if that matters.note: I have noticed on another fountainjs repo I have, which gulp build works, templatecache comes last instead of before ngRoute. Not sure if this is the root cause.
from app minified file:
Config
Copy the content from
.yo-rc.json
:Environment
one@development ~/github/ohoh $ uname -a
Linux development 4.1.15-gentoo-r1 #1 SMP Sat Jan 30 18:32:25 CST 2016 x86_64 QEMU Virtual CPU version 2.0.0 AuthenticAMD GNU/Linux
The text was updated successfully, but these errors were encountered: