mik-technology.map.components-ssr
v1.0.21
Published
> export react components for website managed by dynamic content team
Readme
@bit/mik-technology.map.components-ssr
export react components for website managed by dynamic content team
##dev debug, relate to local library package package.json
change
"@bit/mik-technology.map.components-ssr": "^1.xx"
to
"@bit/mik-technology.map.components-ssr": "link:library" #"file:./library/dist/components"/map-web/library
npx bit build # add npx prefix for windows
npx bit watch # for mac might ignore npx/map-web
npm install bit-bin --global #first time
yarn
yarn start##publish /map-web/library
bit login
wang_michaels / 3hFW68VKcs4CGkK # account infobit tag components
bit export mik-technology.map/map-web
update "@bit/mik-technology.map.components-ssr": "^1.xx" in package.jsonin case anything goes wrong
delete file .bit/*, .bitmap
redo all operations
mik-web integrate
see branch feature/dynamic-content-integrateInstall
yarn add @bit/mik-technology.map.components-ssr --saveUsage
import React, { Component } from 'react';
import Library from '@bit/mik-technology.map.components-ssr';
class Example extends Component {
render() {
return <Library.MyComponent />;
}
}repository website
https://bit.dev/mik-technology/map/components/~code#index.js
License
michaels © [china team](https://github.com/china team)
