Skip to content
webflow-devlink / 1.0.2

webflow-devlink 1.0.2

Install from the command line:
Learn more about npm packages
$ npm install @webflow/webflow-devlink@1.0.2
Install via package.json:
"@webflow/webflow-devlink": "1.0.2"

About this version

Webflow DevLink

Install

yarn add @webflow/webflow-devlink
# or
npm i @webflow/webflow-devlink

Usage

On your application's root directory paste the devlink config generated on the devlink modal with the name of .webflowrc.json. It should look something like this:

{
  "host": "https://api.wfdev.io:8443",
  "rootDir": "./webflow-components",
  "siteId": "62bdb324c76fbb84822a2b15",
  "authToken": "[API TOKEN]"
}

You'll have to generate an API token to your application. This can be done on your Webflow project by going to settings > integrations.

Sync your design system

yarn run webflow-devlink sync 

The application will output an code that should be pasted on DevLink's modal.

Development and local testing

Build

yarn build

To test it on a local application you have two options:

yarn or npm link

On this project's root directory run:

yarn link

On the root directory of your app run:

yarn link webflow-devlink

Local package

The second option you have is to add webflow-devlink to your project as a local directory. It should look with something like this:

{
  "devDependencies": {
    "webflow-devlink": "file:../relative/path/to/webflow-devlink"
  }
}

Running the project locally

To avoid installing this package you can make use npx inside your application's directory when it's already linked or locally installed:

npx webflow-devlink link

Terms of Service

By using Webflow DevLink you agree to the Webflow Labs Terms of Service.

Details


Assets

  • webflow-devlink-1.0.2.tgz

Download activity

  • Total downloads 10
  • Last 30 days 0
  • Last week 0
  • Today 0