collov-component-lib
v0.2.7
Published
- version: 0.2.7 - maintainer: [email protected]
Readme
collov-component-lib
- version: 0.2.7
- maintainer: [email protected]
ask [email protected] or report a bug in github issue if there is any bug or failure with the library.
Installation
from NPM (recommended)
npm i collov-component-libfrom local symbolic link
npm link ../collov-component-lib
npm i collov-component-libUsage
import
import "collov-component-lib"hmm, if there are still problems importing it
solution1: add @babel/plugin-transform-modules-commonjs
in babel.config.js
module.exports = {
plugins: ["@babel/plugin-transform-modules-commonjs"],
}solution2: update @vue/cli-plugin-babel
in babel.config.js
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
}check storybook from main code base
cd component-lib
npm i
npm run docFor dev
check document by using
npm run docCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildLints and fixes files
npm run lintUpload to npm
npm publish