V1.2.0
Find leads based on open job vacanciesGet started181 Companies using @sulu/web
Want to download the entire list?
Enter your email and download the entire list of 181+ companies
How to use @sulu/web
@sulu/web is a JavaScript library that provides a set of tools to create web applications with Sulu CMS. To use @sulu/web, you need to install it as a dependency in your project using a package manager such as npm or yarn. Here are the steps you can follow to use @sulu/web:
- Install Node.js and npm on your machine if you haven't already.
- Create a new project directory and navigate into it using the terminal.
- Run or
npm init
to initialize a new Node.js project.yarn init
- Install @sulu/web using or
npm install @sulu/web
.yarn add @sulu/web
- Import the necessary modules from @sulu/web in your JavaScript code using the statement. For example, to use the Navigation component, you can write:
import
import { Navigation } from '@sulu/web';
- Create an instance of the component and render it to the DOM. For example:
const navigation = new Navigation({ el: '#navigation', items: [ { title: 'Home', url: '/' }, { title: 'About', url: '/about' }, { title: 'Contact', url: '/contact' } ] }); navigation.render();
In this example, we create an instance of the Navigation component and pass it an element to render to (identified by its CSS selector), as well as an array of menu items to display. Finally, we call the
render()
@sulu/web provides several other components and modules that you can use to build your application, such as PageRouter, Form, Toolbar, and more. Refer to the official documentation for more information on how to use these components.
Make your sales data-driven.
Website's technology stack, including its CMS, ecommerce platform, and payment processor, along with details about the industry, company and its contacts.
GDPR Compliant
CCPA Compliant
SOC2 Compliant
