What?
vue-[component]
is primarily responsible for the Login Only section. Try not to be showy in this, just do the logic part.
If you are using a CSS solution, create an additional CSS -[component]
component for the corresponding presentation style and the corresponding skin.
If you're using a css-in-js solution, you need to define your UI interface and skin extensions within the component.
Builder
build with vue-cli-service
npm install -g @vue/cli-service-global
# or
yarn global add @vue/cli-service-global
package.json
"scripts": {
"build":"vue-cli-service build --target lib --name index --dest lib ./index.js"
},
npm run-script build
Tree
[component]
âââ README.md
âââ index.js
âââ lib
â âââ index.common.js
âââ package.json
âââ src
âââ index.vue
Contribution
Fork vue-button as template.