Skip to content

vue-materialize/materialize-vue

Repository files navigation

materialize-vue

A high quality component library based on materialize & vue 2.x

Icon 图标

Button 按钮

Grid 栅格系统

Switch 开关

Breadcrumb 面包屑

Input 输入框

Chip 消息块

Radio 单选框

Checkbox 多选框

Badge 徽章

Card 卡片

Pagination 分页

Tabs 标签页

...

comming soon

Build Setup

# install dependencies 安装依赖
npm run bootstrap

# new component 新增组件
npm run new componentName [chineseName]

# remove component 移除组件
npm run remove componentName

# build component library entry file 构建组件库入口文件
npm run build:file

# build theme 构建主题
npm run build:theme

# use babel transfer es6 utils file to es5 grammer file 使用 babel 转换 utils 语法
npm run build:utils

# clean files 清除生成的文件
npm run clean

# serve with hot reload at localhost:8080 & develop document 开发文档
npm run dev

# serve with hot reload at localhost:8080 & develop component 开发组件
npm run dev:play

# build for production with minification 组件库生产代码
npm run dist

# build document for production with minification 文档生产代码
npm run deploy:build

# deploy document to github branch gh-pages 部署文档生产代码到 gh-pages 分支
npm run deploy

# release npm 发布到 npm
npm run pub

# run unit tests 单元测试
npm run test

# development unit tests 开发单元测试
npm run test:watch

# lint code 代码语法检查
npm run lint

LICENSE

MIT