carbon ui
Carvue is a UI components library which is based on Carbon-Design and VueJS with heart and Proud to be a vue-awesome
Carvue是一个UI组件库,它基于Carbon-Design和VueJS,并以其为人所为而感到自豪
# npm
npm install carvue
# yarn
yarn add carvue
import Vue from 'vue'
import Carvue from 'carvue'
import 'carvue/dist/carvue.min.css'
Vue.use(Carvue)
And you could view usage detail in the bottom panel
您可以在底部面板中查看使用情况详细信息
We recommend the use of Stroybook for developing components
我们建议使用Stroybook来开发组件
Start the server
启动服务器
npm run storybook
Open your browser to http://localhost:6006
打开浏览器到http://localhost:6006
Develop compponents in their respective folders (/components
)
在各自的文件夹( /components
)中开发/components
Write stories for your components in /stories
在/stories
为您的组件编写/stories
Build
建立
npm run build
翻译自: https://vuejsexamples.com/a-ui-components-library-which-is-based-on-carbon-design-and-vuejs/
carbon ui