Comments (4)
We should switch the gruntfile generation to be created by the gruntfile editor built into yeoman.
http://yeoman.io/authoring/gruntfile.html
Currently there's an issue because yeoman and grunt both use lodash/underscore templating. This leads to both using the same <%= %>
for instance.
from generator-jam3.
I was starting this task using the yeoman gruntfile editor, but it is getting configurations as String, so it is quite complicate to create a big gruntfile...
There is not an issue about lodash/underscore templating. The template system make the difference:
<%= %> ---> when you are using template from outside...
<%%= %> ----> When you want to include internal configurations.
Anyways I agree with using yeoman gruntfile editor, we should just find a nice way to it be readable and easy to maintain.
from generator-jam3.
@miguelmoraleda i know i read that in the docs also. but in practice it wasn't working :( So I refactored it to work for the time being. Earlier today I was able to get a project up and running 100% where I could edit code and everything. Also it's implemented that you can update the model/index.js
and call yo jam3:update
to create new sections/templates.
from generator-jam3.
@mikkoh cool, anyways it was working for me...FYI: I couldn't use it with your template function... but using this.template works perfectly. The problem is that on your template function you are using templatePath instead of template
from generator-jam3.
Related Issues (20)
- Optimize inline SVGs
- Load polyfills only when needed
- Move browserlist to package.json
- Move CSS compressing to cssnano HOT 1
- To use yarn HOT 2
- Proposal: Remove stats.js HOT 2
- React doesn't appear as prod mode
- Robot.txt addition
- Installing from source HOT 4
- Remove LESS
- Remove BigWheel
- Update to React 16 and React Router 4 HOT 1
- Create scripts to create component, stateless-component & section templates
- Remove Password Protection Question (Auto include password protection)
- Add npm package vulnerability check
- Remove "Would you perfer Landing/Landing.js over Landing/index.js?" HOT 1
- Remove "Use push states?"
- Remove "Would you like to use ES6?"
- Add default CSS breakpoints HOT 1
- Ensure all current functionality is working correctly
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 generator-jam3.