Back to Integrations
Solid.js Integration
Add the Pulse script to your index.html like any Vite-based project.
Add the Pulse script to index.html
Solid.js uses Vite under the hood, so simply add the Pulse script to your HTML entry file.
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
defer
data-domain="your-site.com"
src="https://pulse.ciphera.net/script.js"
></script>
<title>My Solid App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>