Package Exports
- @edge_blade/vue-materials
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@edge_blade/vue-materials) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Vue Materials
Vue 2.0 and Materialize.css Components
Build Setup
# install
npm install @edge_blade/vue-materials
# import and use the plugin
import Vue from 'vue'
import Materials from '@edge_blade/vue-materials'
Vue.use(Materials)
Testing Changes
To test changes to this package add a /dev
folder under the root directory and load the plugin from the /src
, then mount a Vue instance to the app like in the example below.
# index.js
import Vue from 'vue'
import App from './App.vue'
import MVueComponents from '../src'
Vue.use(MVueComponents);
# Mount Vue App Below
new Vue({
el: '#app',
render: h => h(App)
})
Then run the following command to boot webpack
# run
npm run dev
Thank you to John Leider for providing the original sourcecode for the project.