Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-cli-plugin-material

webdenim50MIT0.2.3

Vue CLI plugin for MDC Web and Vue MDC Adapter with Sass support.

vue, vuejs, vue-cli, vue-cli-plugin, vue-mdc-adapter, material, material-design, material-components, mdc-web, plugin

readme

vue-cli-plugin-material

vue-cli-plugin-material is a Vue CLI plugin to help you get started with Material Design Components for Vue.js.

This plugin will:

  • Add Material Components Web and Vue MDC Adapter to your project's dependencies
  • Add node-sass and sass-loader to your project's devDependencies
  • Configure Webpack for using Material Components Web's Sass (SCSS) files
  • Add required import to your main.js file
  • Add Roboto font and Material Icons to your index.html

Prerequisites

This is a plugin for @vue/cli@^3.0.0-beta.10 and Webpack 4, so it's assumed you have vue-cli installed:

npm i -g @vue/cli

Installation

Create your new project with Vue CLI:

vue create my-project

Then, go into your project's folder and add the plugin:

cd my-project
vue add material

Finally, serve your project which will be available at http://localhost:8080:

npm run serve

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.2.3 (2019-02-27)

0.2.2 (2018-05-21)

0.2.1 (2018-05-14)

Bug Fixes

  • fix Webpack config merging (0e1b397)

0.2.0 (2018-05-13)

Bug Fixes

  • replace SCSS one-line comments with CSS multi-line comments until problem investigated (6695080)

Features

0.1.0 (2018-05-07)