Giter Club home page Giter Club logo

Comments (9)

vytch avatar vytch commented on June 6, 2024

+1

from generator.

thomasmery avatar thomasmery commented on June 6, 2024

hi there,

was wondering if this was solved or was going to be

if so should I update yeoman?

how would I go about just updating the backbone generator?

at the moment I am about include EJS support by hand as I understand this is how it should be done to use the generated templates

any insight very welcome

thnks in advance for this (and for this really realy helpful project too!)

from generator.

sindresorhus avatar sindresorhus commented on June 6, 2024

@addyosmani who added it in the first place? I have like no experience with EJS. Is it something we want to recommend and include or should we just let users bower install what they need?

from generator.

thecraigmcrae avatar thecraigmcrae commented on June 6, 2024

After upgrading to yeoman 1.0 I started using this generator, and the ejs templates have been my biggest issue.

from generator.

revathskumar avatar revathskumar commented on June 6, 2024

In backbone generator we are pre-compiling the ejs templates and only the templates.js is added to index.html.
see yeoman/generator-backbone#20

@thecraigmcrae Can you please elaborate where you are facing issue?

from generator.

kevva avatar kevva commented on June 6, 2024

Since you're referring to generator-backbone I'm going to close this.

from generator.

thecraigmcrae avatar thecraigmcrae commented on June 6, 2024

@revathskumar "cannot read property of 'app/scripts/templates/projects.ejs' of undefined" getting this when uploading to my server (S3 instance). Running into issues after building my project too. I'm probably doing something wrong, I don't see templates.js getting added anywhere.

from generator.

revathskumar avatar revathskumar commented on June 6, 2024

@thecraigmcrae Can you please raise an issue on generator-backbone, so that we can have a look into it.

from generator.

thecraigmcrae avatar thecraigmcrae commented on June 6, 2024

@revathskumar I found the solution to be quite simple, as the precompiled JS template was not being added to the dist.

zeripath/generator-backbone@844f755#commitcomment-3071237

from generator.

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.