npm.io
0.1.0 • Published 8 years ago

cosmos_ui

Licence
MIT
Version
0.1.0
Deps
3
Vulns
1
Weekly
0

COSMOS-UI

The user interface framework for front-end.

Demo

-- not yet..

Installation

$ npm install cosmos_ui

Configuration

SCSS
// In your app.scss file.
@import 'app-variables'; // Customize variables for application.
@import 'node_modules/cosmos-ui/src/scss/cosmos';
...
Vue Plugin
// In your app.js
import Vue from 'vue';
import Cosmos from 'cosmos-ui';

Vue.use(Cosmos);

window.vm = new Vue({
  el: '#app',
});
In HTML
<!-- in <head> tag -->
<link rel="stylesheet" href="/css/app.css">
...

<!-- in the end of <body> tag -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.23.0/polyfill.js"></script>
<script src="/js/app.js"></script>

Usage

Please see Documents

Change Log

CHANGELOG.md

License

MIT License