| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
webflow-university is a pnpm monorepo with 2 packages:
Critical code that depends on user auth state or backend features, such as course progress, is managed in the private webflow/webflow monorepo.
The scripts package builds 3 browser bundles into packages/scripts/dist.
Use these files from jsdelivr in Webflow, for example:
<script
defer
src="https://cdn.jsdelivr.net/gh/webflow/webflow-university@1.3/packages/scripts/dist/index.js"
></script>The code-components package contains Webflow Code Components for richer UI that is easier to build in React than directly in Webflow. Current components include Autoplay Tabs, WFU CMS Calendar, and ProSphere.
Share components to Webflow with:
pnpm share:componentspnpm install# Serve the scripts package from http://localhost:3000 with live reload
pnpm dev:scripts
# Run the code-components Vite dev server
pnpm dev:components# Build all packages
pnpm build
# Build one package
pnpm build:scripts
pnpm build:componentsCreate a changeset when your change should be released:
pnpm changesetThen follow the prompts to choose the changed package and version bump type. Commit the generated .changeset/*.md file with your PR.
The main way to QA scripts is to run the local dev bundle and redirect the jsdelivr URL to localhost with a redirect service like Requestly.
Start the local scripts server:
pnpm dev:scriptsIn Requestly, create a redirect rule from the jsdelivr script URL to the matching localhost bundle.
Example for the main script:
Open the relevant Webflow University page and verify the behavior in the browser.
For Pro bundles, redirect to the matching local file:
You can also QA scripts with Chrome local overrides instead of Requestly.
Run the component dev server, test the component locally, then share it to Webflow when ready:
pnpm dev:components
pnpm share:componentspnpm test
pnpm lint
pnpm check
pnpm build| Back | FazBrowse Home | New Git URL |