@anton.marusenko/create-pp-dev
v0.6.11
Published
Portal Page Templates repository
Maintainers
Readme
@metricinsights/create-pp-dev
Overview
@metricinsights/create-pp-dev is a CLI tool for scaffolding new MetricInsights Portal Page projects. It provides various templates to help you start quickly with Portal Page development.
Requirements
- Node.js version 18+, 20+
- npm, yarn, or pnpm package manager
Note: Some templates may require a higher Node.js version. Please upgrade if your package manager warns about compatibility issues.
Usage
Basic Usage
# Using npm
npm create @metricinsights/pp-dev@latest
# Using yarn
yarn create @metricinsights/pp-dev
# Using pnpm
pnpm create @metricinsights/pp-devAdvanced Usage
You can directly specify the project name and template via command line options:
# npm 7+, extra double-dash is needed:
npm create @metricinsights/pp-dev@latest my-pp -- --template react
# yarn
yarn create @metricinsights/pp-dev my-pp --template react
# pnpm
pnpm create @metricinsights/pp-dev my-pp --template reactTo scaffold in the current directory, use . as the project name:
npm create @metricinsights/pp-dev@latest . -- --template reactAvailable Templates
vanilla- Basic Portal Page with vanilla JavaScriptvanilla-ts- Basic Portal Page with TypeScriptreact- Portal Page with Reactnextjs- Portal Page with Next.js
Next Steps
After creating your project:
- Navigate to the project directory
- Install dependencies
- Start the development server
- Follow the instructions in the generated project's README
For more information about developing Portal Pages, see the pp-dev documentation.
