npm install -g @vue/cli
npm install -g yarn # if you don't have it
yarn install
vue create <component-name-folder>
See this projects
package.json
andvue.config.js
for build rules and config. I chose a component library name all in CamelCase because in Mica components are only available thru this object:Vue.use(Vue.use(VueObibaSearchResult.VariablesResult, ...)
. CamelCase looks more like a namespace, hence this naming convention.
yarn serve
yarn build-lib
yarn lint