94
fish-ui A Vue.js 2.0 UI Toolkit for Web.
source link: https://myliang.github.io/fish-ui/#/components/index
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Fish-UI
A Vue.js 2.0 UI Toolkit for Web.
Environment Support
Modern browsers
Install
Install Fish-UI with the node package manager. It can work with webpack and ES2015 very well.
If you are in a bad network environment,you can try other registries and tools like cnpm。
$ npm install less less-loader fish-ui --save
font-awesome & google font
<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/>
<link rel="stylesheet" href="https://fonts.proxy.ustclug.org/css?family=Lato:400,700,400italic,700italic&subset=latin"/>
Quick Start
vue-cli
$ npm install -g vue-cli
$ vue init webpack test
$ cd test
$ npm install less less-loader fish-ui --save
import FishUI from 'fish-ui'
Vue.use(FishUI)
main.js
import Vue from 'vue'
import App from './App'
import FishUI from 'fish-ui'
Vue.use(FishUI)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
template: '<App/>',
components: { App }
})
App.vue
<template>
<div id="app">
<img src="./assets/logo.png">
<router-view></router-view>
<fish-button>Testing</fish-button>
</div>
</template>
<script>
export default {
name: 'app'
}
</script>
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>
$ npm run dev
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK