An opinionated starter template for vite or rollup with a cli to generate template project.
Using npm to initialize a project
npx @sky-fly/template
You can pass one CLI option as the project name, which will be used to decide the folder name where the generated project template will be placed.
npx @sky-fly/template project
You can also pass another CLI option as the package name, which will be used to overwrite the default in the project. If not specified, the project name will be used as the package name.
npx @sky-fly/template project project
Available named CLI options are shown below:
Name | Default | Type | Description |
---|---|---|---|
--template -t | - | 'vue'|'react' |
decide the template the project is intended to use |
--package-manager -p | - | 'npm'|'yarn'|'pnpm' |
decide the package manager the project is going to use |
MIT © skyclouds2001