gulp
nunjucks
Our great sponsors
gulp | nunjucks | |
---|---|---|
42 | 41 | |
32,854 | 8,435 | |
0.0% | 0.6% | |
3.7 | 2.0 | |
2 days ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gulp
-
How, and why, you should add JavaScript linting to your project. With ESLint and Gulp
A little gulp and npm knowledge is beneficial, but not required
-
How to improve page load speed and response times: A comprehensive guide
Many web pages use CSS and JavaScript files to handle various features and styles. Each file, however, requires a separate HTTP request, which can slow down page loading. Concatenation comes into play here. It involves combining multiple CSS or JavaScript files into a single file. As a result, pages load faster, reducing the time spent requesting individual files. Gulp, Grunt, and Webpack are some of the tools that can assist you in speeding up the concatenation process. They enable seamless merging of many files during development, ensuring deployment readiness.
-
Build a Vite 5 backend integration with Flask
Once you build a simple Vite backend integration, try not to complicate Vite's configuration unless you absolutely must. Vite has become one of the most popular bundlers in the frontend space, but it wasn't the first and it certainly won't be the last. In my 7 years of building for the web, I've used Grunt, Gulp, Webpack, esbuild, and Parcel. Snowpack and Rome came-and-went before I ever had a chance to try them. Bun is vying for the spot of The New Hotness in bundling, Rome has been forked into Biome, and Vercel is building a Rust-based Webpack alternative.
-
A step-by-step guide: How to create and publish an NPM package.
NPM packages include a wide range of tools such as frameworks like Express or React, libraries like jQuery, and task runners such as Gulp, and Webpack.
-
π₯ FAST & FURIOUS WEBSITE 2024 π₯Tips & Links for performance optimization
Another way to optimize is by reducing the size of CSS, JavaScript, and HTML files by removing comments, unnecessary spaces, and line breaks. Combine CSS and JavaScript files into a single file to reduce the number of server requests. This can be done using build tools like Webpack or Gulp.
-
dd
Gulp - the streaming build system
-
JavaScript Module Bundlers and all that Jazz β¨
Browserify was great at bundling scripts, but what if we need to transform code - Say compile CoffeeScript to JavaScript, for this, a new group of tools for the web was born, which focussed on running code transforms. These are usually called task runners, and the most popular ones are Grunt and Gulp.
-
The Emperor's New Library
What we see, a decade ago, are that many of the "popular" libraries, frameworks, and methods, not surprisingly, have gone by the wayside, a lot that have remained in current code as difficult-to-removemodernize legacy cruft (Bower, Gulp, Grunt, Backbone, Angular 1, ...), and then we have the small minority that are still here. Some that remain have had their utility lessened/questioned by platform and language improvements (jQuery, lodash, ...), but very, very few exist that are the same now as they were then. Another fun historical reference: issue #118 of "JavaScript Weekly" (February 22, 2013) includes a first link out to asm.js.
-
Top 15 Must Have Tools For JavaScript Developers
GULP: Gulp is basically a task automation tool. The file that you create in this tool, is a plain JavaScript file that you can run to automate you menial tasks. It comes under the category of package manager. Gulp is very developer friendly and easy to learn. For more info: https://gulpjs.com/
- 100DaysOfCode: Day 04, UI Design with Knott JS + Weavv CSS
nunjucks
-
How to Integrate Astro With ApostropheCMS pt. 1
In ApostropheCMS, templates are where code and content become web pages. Specifically, templates are written in normal HTML markup with special tags and are based on the Nunjucks template language. Thus, they are .html files placed in the /views subfolder of an ApostropheCMS module.
-
How to Build an Ecommerce Website with ApostropheCMS
This starter Kit has been created by Corllete in partnership with Apostrophe. From a technical point of view, the ecommerce project is based on several UI components. Each of them relies entirely on Tailwind CSS for styling, with no additional CSS files. These components are organized in macros and fragments coming from the default server-side template engine Nunjucks.
- Why to use htmlx if we can continue using Django templates
- Django templates in the frontend
-
Does anyone kind of miss simpler webpages?
The linked one is my Rails implementation, written for ViewComponent. The official version uses Nunjucks.
-
Repeating Navigation, Header, and Footer in CSS and HTML?
Take a look on Nunjucks a templating language by Mozilla . You can use Gulp to start with it, check gulp-nunjucks-render.
-
How to have multiple HTML pages have the same template layout?
Try out Nunjucks https://mozilla.github.io/nunjucks/ . It does exactly what you want.
- 100DaysOfCode: Day 04, UI Design with Knott JS + Weavv CSS
- 100DaysOfCode: Artwork Profile UI Design with Weavv
- 100DaysOfCode: Card UI Design with WEAVV
What are some alternatives?
EJS - Embedded JavaScript templates -- http://ejs.co
handlebars.js - Minimal templating on steroids.
parcel - The zero configuration build tool for the web. π¦π
Jade - Pug β robust, elegant, feature rich template engine for Node.js
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Rollup - Next-generation ES module bundler
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. βοΈ [Moved to: https://github.com/FredKSchott/snowpack]
vite - Next generation frontend tooling. It's fast!
mustache.js - Minimal templating with {{mustaches}} in JavaScript
grunt - Grunt: The JavaScript Task Runner
marko - A declarative, HTML-based language that makes building web apps fun