mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 12:03:49 +01:00
841 B
841 B
core-js
Core-JS defines custom functions for the Wisemapping ecosystem.
Quick Start
- Clone repository with the next command:
git clone https://[username]@bitbucket.org/wisemapping/wisemapping-frontend.git
where the variable username is you username of Bitbucket.
Note:The project is configured to use the yarn dependency manager
- Move to folder core-js
cd packages/core-js
-
Now you need install all dependence, this is done with command
yarn install
-
To start the development enviroment you have to use command
yarn start
.
Production
To build up the package core-js and use in production, you have to use command yarn build
Usage
To start using core-js it has to be required as a module and then intanciarce as a function
const coreJs = require('core-js');
coreJs();