Skip to content

webflow-devlink 1.0.1

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

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

Details


Assets

  • webflow-devlink-1.0.1.tgz

Download activity

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