CLI
How to install Webcore using the CLI
To start a new project with Webcore, you can use the CLI to bootstrap projects with a single command. Run the following in your terminal and follow the prompts to finish installation:
API
The CLI can also be used programmatically to create Webcore projects on the fly. To get started, install the CLI as a dependency for your project:
You can import the create
function from the package and call it with the following configuration object to generate a new Webcore project:
Property | Default | Purpose |
---|---|---|
dir | ./ | Sets the working directory where the project will be bootstrapped. |
framework | astro | The framework to setup. Can be one of "astro" , "svelte" , "react" . |
Request improvement for this page