cvmodulewebb
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

CvmoduleWebb

Install

npm install --save cvmodulewebb

how to use

  1. Import component into your application.
import CvApplication from 'cvmodulewebb'
  1. add configurations for the component
const settings = {
  apiUrl: "string",
  userId: "string",
  basePath: "string",
  userToken: "string",
  history: "react-router history object"
}

<CvApplication settings={settings} text="" />

for local development

  1. link package.json in Startkraft-Webb to the directory of cvmodulewebb.
  "dependencies": {
    .....
    "cvmodulewebb": "file: ../../../../cvmodulewebb",
  }
  1. for working with the same react in local environment, you need to link the react to Startkraft-Webb, go to the directory for cvmodulewebb and type.
  npm link ../Startkraft/Startkraft-Web/node_modules/react
  1. You need to have both Starkraft-Webb and cvmoduleWebb running with npm run start. When update cvmodule Startkraft-Webb will auto compile.

Readme

Keywords

none

Package Sidebar

Install

npm i cvmodulewebb

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

24.5 MB

Total Files

63

Last publish

Collaborators

  • johandobus