callmecavs / outset Goto Github PK
View Code? Open in Web Editor NEWA minimal frontend boilerplate, emphasizing workflow.
A minimal frontend boilerplate, emphasizing workflow.
as of IE11, "edge mode" is no longer considered experimental, and enabled by default via <!DOCTYPE html>
, so
<meta http-equiv="X-UA-Compatible" content="IE=edge">
is so longer needed
Under gulp.task('build', ['html', 'sass', 'js', 'images', 'fonts',...])
every task builds then exits except js. Thus if you ever need to build and exit, you must manually intervene. I believe this is because of watchify. It would be great if we can get back the ability to run gulp build
and have it exit once completed.
much needed - can't keep using a
or div
elements because resetting the button
element is a nightmare
eventually, only this will be required:
button {
all: unset;
}
for now, because IE & Edge are trash, we need all this: https://css-tricks.com/overriding-default-button-styles/
add a class or Sass mixin to hide something in a manner that is still accessible to screen readers
html5bp uses:
.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
server options in the gulpfile should look as follows:
// SERVER & RELOAD
const options = {
ghostMode: false,
notify: false,
server: {
baseDir: './dist'
}
}
to convert Adobe software tracking to CSS letter-spacing
@mixin x2() {
@media (min-resolution: 2dppx) {
@content;
}
}
currently an error in bundle.write
breaks the stream
const js = async done => {
let bundle
try {
bundle = await rollup.rollup(read)
await bundle.write(write)
} catch (error) {
onError('JS', error, done)
}
}
import after "vars" in style.scss
[email protected]: Use better "gulp-cssnano" instead. https://github.com/ben-eb/gulp-cssnano
Or even better use libsass output: compressed
should look like:
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
fixes notch issue on iPhone X and above
only in the case of using file includes for svgs
log to the console the total size of images, style.css
, bundle.js
, etc
This doesn't work with Next so I can't write any react frontends. @callmecavs please fix
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.