CLI
-
How do I install Nutin?
Nutin is a command-line tool, @nutin/cli. It generates your project, and updates it later.
-
How do I create an app?
The project is created in a new my-app folder in the current directory. The command stops if that folder already exists.
-
How do I create a browser extension?
Nutin can generate a Manifest V3 extension for Chrome and Firefox. Its UI is a normal Nutin app, shown in the browser's side panel (Firefox: the sidebar) or in a popup opened from the toolbar button. The choice is made when the project is created; it can't be added to an existing project.
-
How do I add a feature?
From the project's root:
-
How do I update a Nutin project?
Nutin's source lives in your project, so updating Nutin means updating files you may have edited. nutin-update updates them without overwriting your changes.