1.0.21 • Published 3 years ago

mik-technology.map.components-ssr v1.0.21

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
3 years ago

@bit/mik-technology.map.components-ssr

export react components for website managed by dynamic content team

NPM JavaScript Style Guide

##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 info
bit tag components
bit export mik-technology.map

/map-web

update "@bit/mik-technology.map.components-ssr": "^1.xx" in package.json

in case anything goes wrong

delete file .bit/*, .bitmap

redo all operations

mik-web integrate

see branch feature/dynamic-content-integrate

Install

yarn add @bit/mik-technology.map.components-ssr --save

Usage

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)