Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
vue-mdc-adapter
Advanced tools
vue-mdc-adapter
is an integration of
Material Components
for Vue.js which follows best practices
recommended by Google:
Using Foundation and adapters
The project aims at trying to find the right balance between ease of use vs customization, while sticking to the Vue Spirit (approachable, versatile, performant,)
The project is under active development.
Focus is on known issues, validation and keeping up with MDC updates.
npm install -g vue-cli
vue init stasson/vue-mdc-adapter-simple my-project
npm install --save vue-mdc-adapter
vue-mdc-adapter and material components uses es6 for code and sass for styles make sure your webpack/rollup config resolves node_modules for transpiling and sass imports
import Vue from 'vue'
import VueMdcAdapter from 'vue-mdc-adapter'
Vue.use(VueMdcAdapter)
$mdc-theme-primary: #212121;
$mdc-theme-accent: #41B883;
$mdc-theme-background: #fff;
@import "vue-mdc-adapter/components/styles";
or cherry pick components:
import Vue from 'vue'
import VueMdcButton from 'vue-mdc-adapter/components/button'
Vue.use(VueMdcButton)
@import "vue-mdc-adapter/components/button/mdc-button";
<head>
<!-- import reset material icons, fonts and vue-mdc-adapter stylesheets -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" type="text/css">
<link rel="stylesheet" href="https://unpkg.com/vue-mdc-adapter/dist/vue-mdc-adapter.min.css">
<!-- import vue and then vue-mdc-adapter -->
<script src="https://unpkg.com/vue/dist/vue.min.js"></script>
<script src="https://unpkg.com/vue-mdc-adapter/dist/vue-mdc-adapter.min.js"></script>
</head>
<body>
<!-- vue mdc markup -->
<body>
0.3.0 (2017-11-18)
<a name="0.2.1"></a>
FAQs
Vue wrapper arround Material Components for the Web
The npm package vue-mdc-adapter receives a total of 215 weekly downloads. As such, vue-mdc-adapter popularity was classified as not popular.
We found that vue-mdc-adapter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.