ben-rogerson / craft-gulp Goto Github PK
View Code? Open in Web Editor NEW๐จ Craft CMS + SCSS + JS + Gulp > A full set of build-tools for Craft website developers
License: MIT License
๐จ Craft CMS + SCSS + JS + Gulp > A full set of build-tools for Craft website developers
License: MIT License
Create a folder with instructions on how to use this feature
Make them super-duper descriptive, like
UpdateBodyHelperClassesOnResize
UpdateBodyHelperClassesOnScroll
UpdateBodyHelperClassesOnLoad
TransitionInElementsOnScroll
InjectInlineSVGs
OpenMenuWhenBurgerClicked
SkinVideos
FlexPolyfill
StickyPolyfill
...Then import them into your main entry point and comment out if not needed for certain jobs.
Unsure if I should include them in production yet - thinking not.
It'd be overkill to use TypeScript as a full-on 'explicitly type all the things!!' tool (unless we're working on an app where the dev cycle is long-term), but as a helper tool in VSCode, the autocomplete benefits for newer devs is awesome.
jquery / lodash autocomplete etc. makes life nicer for everyone:
https://www.npmjs.com/package/@types/jquery
https://www.npmjs.com/package/@types/lodash
P.S. main thing is to pass noImplicitAny: false to the tsc compiler so it doesn't insist on everything being typed - otherwise everyone will hate us, lol
It'd be overkill to use TypeScript as a full-on 'explicitly type all the things!!' tool (unless we're working on an app where the dev cycle is long-term), but as a helper tool in VSCode, the autocomplete benefits for newer devs is awesome.
jquery / lodash autocomplete etc. makes life nicer for everyone:
https://www.npmjs.com/package/@types/jquery
https://www.npmjs.com/package/@types/lodash
P.S. main thing is to pass noImplicitAny: false to the tsc compiler so it doesn't insist on everything being typed - otherwise everyone will hate us, lol
Currently there's no way to use imports/requires within the Javascript.
Macros are for small code chunks so makes sense to spend a little time building them up.
Ideas:
I want to remove the intermediate temp
folder that's created during build time. gulp-add-src
should help out here.
I need to update Babel to the monorepo version in .babel.rc
:
From this:
"babel-core": "^6.26.3",
To this:
"@babel/preset-env": "^7.0.0-beta.40"
and:
@babel/plugin-proposal-object-rest-spread
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.