2.0.1 • Published 7 years ago
vue-test-module v2.0.1
Vue Test Module
This package is meant to be a good starting point for anyone who wants to make a Vue.js module, publish it to NPM, and install it in any Vue.js project.
Installing and Using the Module
Run npm install vue-test-package --save
in your project.
Tell Vue.js to use the component:
//Any file where components are set up.
import VueTestModule from 'vue-test-module';
Vue.use(VueTestModule);
Then use it like this in the code:
<vue-test-module></vue-test-module>
Styling the Module
In order to style this component to match whatever need of a project,
import the variables
from the scss
folder, and override the scss
as needed,
the import the master
module after overriding.
Demo
To run a demo, change the directory to the demo
directory; run npm install
followed by
npm run dev
to run the demo page.