9.1.0 • Published 9 months ago

@versionone/components v9.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 months ago

name: Start Here

menu: Getting Started

Repo: https://github.com/versionone/component-library

Prerequisite Software

Please ensure you have the following installed:

  1. yarn@^1.3.2 yarn -v to check
  2. nodejs ^10.0.0 node -v to check, run multiple versions of node via nvm (windows, OSX/Linux)
  3. git
  4. VS Code MDX extension (if using VS Code)
  5. Sublime MDX extension (if using Sublime Text)

Running Locally

Clone the repo and cd into the repo's directory.

  1. yarn && yarn bootstrap
  2. yarn start
  3. Navigate to http://localhost:3000

If new to the code base, please fully read the recommended reading either locally or on the deployed site before beginning.

Recommended Reading

Linking

In some cases we need to enhance the component library and receive quick feedback of the changes in a consuming applicaiton like VersionOne or Continuum.

Working locally with VersionOne (Core)

Here is a small snippet that can be added to your ~/.bash_profile that provides aliases for linking the component library:

DEV_HOME="C:/development"
CORE_DIR="$DEV_HOME/core"
CL_DIR="$DEV_HOME/component-library"

function link() {
    cd "$CL_DIR/packages/components"
    yarn link
    cd "$CORE_DIR/VersionOne.Web"
    yarn link "@versionone/components"
    cd $CL_DIR
    yarn build
    cd $CORE_DIR
    ./gulp watch
}

function buildLink() {
    cd $CL_DIR
    yarn build
    cd $CORE_DIR
    ./gulp watch
}

alias blink="buildLink"
alias link="link"
9.1.0

9 months ago

9.0.6

2 years ago

9.0.5

2 years ago

9.0.4

3 years ago

9.0.2

4 years ago

9.0.1

4 years ago

9.0.0

4 years ago

8.0.4

4 years ago

8.0.3

4 years ago

8.0.2

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

6.1.3

4 years ago

6.1.2

4 years ago

6.1.1

4 years ago

6.1.0

4 years ago

6.0.5

4 years ago

6.0.4

4 years ago

6.0.3

4 years ago

6.0.2

4 years ago

6.0.1

4 years ago

6.0.0

4 years ago

5.5.3

4 years ago

5.5.2

5 years ago

5.5.0

5 years ago

5.4.4

5 years ago

5.4.3

5 years ago

5.4.2

5 years ago

5.4.1

5 years ago

5.4.0

5 years ago

5.3.2

5 years ago

5.3.1

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.5

5 years ago

5.1.4

5 years ago

5.1.3

5 years ago

5.1.2

5 years ago

5.1.0

5 years ago

5.0.0

5 years ago

4.0.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0-alpha.3

5 years ago

2.0.0

5 years ago

1.1.3

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago