What AI tools are best? Take our State of AI survey

Builder.io logo
Contact Sales
Platform
Developers
Contact Sales

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

‹ Back to blog

Developer Tools

Introducing Builder Devtools

June 29, 2023

Written By Adam Bradley & Yoav Ganbar

Builder Devtools is a package to help you streamline the process of getting started with Builder’s Visual Headless CMS when starting a Qwik project.

Now supports Next.js as well.

We are excited to introduce and share a closer look at Builder.io's Devtools. It’s all about improving the developer experience.

Currently, there are some prerequisites and steps to get Qwik integrated with Builder, but we want to make it even easier.

Manu (Qwik)

@manucorporat

🔻 Less best practices
✅ More DX

3:10 PM ・Jun 22, 2023

Installation and initial setup

To get started with a new Qwik project, run the following command:

npm create qwik@latest
Note: You could alternatively use pnpm or yarn.

Choose Site with Visual CMS option:

This initializes a new Qwik application and gets your app ready for Builder’s Visual CMS initialization.

  • Go to your project folder and run: pnpm install
  • Run: pnpm run dev
  • Click the link that appears in your terminal

This opens your newly created app and starts the connection flow to Builder:

This takes you through Builder’s account creation process (in case you’re not signed up), and ends with authorizing your application.

This actually creates a .env file in your project filesystem and brings in the API key from Builder:

A screenshot of the created .env file.

After the celebration, you are ready to use Builder’s drag & drop UI inside your app!

How cool is that?!

Registering components

One of the key features of our Visual CMS is the option to use the code and components you write inside your codebase and then use them inside of Builder’s UI. We call this “registering components”.

In the past, this required developers to register their components using the SDK and filling out the correct properties.

Now, with our new Devtools we’ve made this process easier.

You’ll notice a little icon on the bottom right — this is our Devtools drawer.

Untitled

Clicking on it opens a drawer that displays all of your components, both registered and unregistered.

User interface and functionality

The UI of the Devtools is designed for developers' convenience, providing a comprehensive view of all components and the ability to interact with them directly. This includes renaming, registering, and editing a component's inputs.

The advantage of a dev server

The Devtools take advantage of having a dev server, offering read-write access to the file system and the ability to post content updates to Builder.io accounts. This helps developers to swiftly generate new content. Whether you're creating a blog, product page, or any other type of content, the tool enables you to accomplish it with just a button click:

Potential integrations with other frameworks

We’re not stopping here. As we’ve mentioned, we're working on making the Devtools compatible with other JavaScript frameworks such as Next.js, SvelteKit, and Remix.

Conclusion

Builder.io's Devtools was created out of DX obsession and constant iterations. We want to provide a smooth experience for creating components and building web apps – all while tightening the collaboration between your whole product team.

If you're a developer looking to clear your marketing backlog tickets that consist of basic UI changes, it’s worth giving Builder a test drive.

Stay tuned for more insights and updates. Happy coding!

Need help?

If you run into any trouble using this tool, please join our Discord server.

Introducing Visual Copilot: convert Figma designs to high quality code in a single click.

Try Visual CopilotGet a demo

Share

Twitter
LinkedIn
Facebook
Hand written text that says "A drag and drop headless CMS?"

Introducing Visual Copilot:

A new AI model to turn Figma designs to high quality code using your components.

Try Visual CopilotGet a demo
Newsletter

Like our content?

Join Our Newsletter

Continue Reading
AI9 MIN
Windsurf vs Cursor: which is the better AI code editor?
December 17, 2024
AI10 MIN
Cursor AI: 5 Advanced Features You're Not Using
December 17, 2024
Visual Development8 MIN
What is Builder's Visual Development Platform?
December 13, 2024