devploy docs
Get started
Create a template and check it in your browser.
Create a template
Open a terminal in a new folder. You’ll need Node.js and npm.
mkdir my-template
cd my-template
npx nowebcli create
npx nowebcli devYour design lives in Template.tsx. Put images and other assets in public/. The local preview opens at 127.0.0.1:4173.
Check your work
Check desktop and mobile layouts in the local preview. Before uploading, validate your files:
npx nowebcli checkThe check requires a valid cover. Your local preview works without one.
Use the profile
Every noweb account has one developer profile: name, picture, about, projects, skills, experience and links. People enter it once on their account, and every template shows it automatically. Read it with useProfile():
import { useProfile } from "nowebcli";
export default function Template() {
const profile = useProfile();
return (
<main>
<h1>{profile.name}</h1>
<p>{profile.role}</p>
{profile.projects.map((project) => (
<a key={project.title} href={project.url}>{project.title}</a>
))}
</main>
);
}Fields: name, role, location, avatar, about, available, email, github, linkedin, twitter, website, resume, skills (strings), projects (title, description, image, url, repo, tags) and experience (role, company, period, description). Any of them can be empty, so hide what is missing. The local preview fills them with sample data.
Keep customizations.json for design choices such as colors or layout options, not for content.
Need a hand? Ask the community.