johncalvinroberts / egg Goto Github PK
View Code? Open in Web Editor NEWThis project forked from wiredcraft/egg
A flexible CSS Framework for busy people
Home Page: http://wiredcraft.github.io/egg/
License: MIT License
This project forked from wiredcraft/egg
A flexible CSS Framework for busy people
Home Page: http://wiredcraft.github.io/egg/
License: MIT License
As per readme:
Import CSS for the components you need, to use as styles alongside your existing frontend framework.
I want to start by making this compatible with both react & vue. The UX should be something like:
import React, { Component } from 'react'
import modal from 'eggcss/components/modal'
export class Modal extends Component {
render () {
return (<div className="modal">
{this.props.children}
</div>
)
}
}
<style lang="scss" src="eggcss/components/modal.scss"></style>
<template>
<div :class="['modal', activeClassName]">
<slot/>
</div>
</template>
<script>
export default {
props: {
active: {
type: Boolean,
default: false
}
},
computed: {
activeClassName () {
return this.active ? 'active' : ''
}
}
}
</script>
I'm pretty sure to achieve this I will need to move away from simple NPM scripts to an actual build tool, i.e. webpack to output the component css bundles.
See issue title, self explanatory
egshell
or eggcss
examples
to use npm packageREADME.md
These are all the things that Travis should do when push to master
README.md
on github repo with badges for version & build: passingpackage.json
on github repo (with version)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.