0.1.0 • Published 7 years ago

cosmos_ui v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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