create-sunlit
v1.2.1
Published
A scaffolding tool for Nuanyang projects
Downloads
98
Readme
Scaffolding Your First Vite Project
Compatibility Note: Vite requires Node.js version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
$ npm create sunlit@latestWith Yarn:
$ yarn create sunlitWith PNPM:
$ pnpm create sunlitThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:
# npm 7+, extra double-dash is needed:
npm create sunlit@latest my-vue-app -
# yarn
yarn create sunlit my-vue-app
# pnpm
pnpm create sunlit my-vue-app
Currently supported template presets include:
- vue3-ts-base
- vue3-ts-admin
- vue3-ts-map
You can use `.` for the project name to scaffold in the current directory.