Coder Social home page Coder Social logo

Issues with Yeoman about grunt-include-replace HOT 5 OPEN

alanshaw avatar alanshaw commented on September 25, 2024
Issues with Yeoman

from grunt-include-replace.

Comments (5)

lhwparis avatar lhwparis commented on September 25, 2024

any news on this? i need a solution to get it working with yeoman

from grunt-include-replace.

alanshaw avatar alanshaw commented on September 25, 2024

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.

digitaljhelms avatar digitaljhelms commented on September 25, 2024

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.

bryanstedman avatar bryanstedman commented on September 25, 2024

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.

gaboesquivel avatar gaboesquivel commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.