1.1.7 • Published 8 months ago
create-sunlit v1.1.7
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@latest
With Yarn:
$ yarn create sunlit
With PNPM:
$ pnpm create sunlit
Then 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-map`
You can use `.` for the project name to scaffold in the current directory.