Comments (5)
any news on this? i need a solution to get it working with yeoman
from grunt-include-replace.
What needs to be done? What's the error message/problem? I don't use yeoman so I have no idea.
from grunt-include-replace.
Unfortunately I don't even remember what my issues were... That said, I do know that with a bit of tweaking I was able to get things working, but it wasn't consistent with the way Yeoman works out of the box (had something to do with running the server out of the dist directory vs the app directory). If I have time I'll peer back into the project I was leading at the time and try to collect some notes from the commit history... I also recall @bryanstedman and @dilrajahdan inquiring via Twitter when I posted the original Tweet (ironically around this time last year) so maybe they've got some tips?
from grunt-include-replace.
It has been a while for me too so, like @digitaljhelms, I don't totally remember how I got it working. I just posted the Gruntfile that I used on that project for you at http://pastebin.com/XE630Y9E maybe that will give you some clues.
I think that part of the issue may have been adding the includes task to the livereload function. You can see that on line 47 of the gruntfile that I posted.
Another issue that I vaguely remember having was a port conflict. I think that I may have been running a second project at the same time. One running an API and the other calling the API. Anyway, you can explicitly set the port to use as I did on line 60. I hope that helps. Let us know if you get thing working or if you have any other questions. But there is a way to get it working :)
from grunt-include-replace.
this generator-webapp branch adds grunt-include-replace as an optional feature for html includes https://github.com/gaboesquivel/generator-webapp/tree/html-includes
from grunt-include-replace.
Related Issues (20)
- Unexpected token error when trying to replace @@sample with html code HOT 4
- Flatten destination output HOT 2
- Argument of include can't have linebreak HOT 1
- Local variables object refering
- access to local variables
- How to replace a file itself ? HOT 1
- Allow undeclared parameters to be defaulted
- Chokes on })
- Make output less verbose
- options.processIncludeContents called when file is processed
- Renaming Generated files HOT 2
- a space before comma make difference
- the file array format processing is very slow HOT 4
- Encoding change HOT 1
- Request: Support for webpack HOT 1
- Project with committed dependencies has a slightly different v3.2.0 HOT 1
- Directory not being created HOT 1
- Reference in multiple steps
- пиксель защита
- Include file(s) not found error on Windows updated Grunt 1.6.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-include-replace.