create-li-app
v3.4.0
Published
## Scaffolding Your Li Project with Vite Or Webpack
Downloads
20
Readme
create-li-app
Scaffolding Your Li Project with Vite Or Webpack
Compatibility Note: Vite requires Node.js version >=12.0.0.
With NPM:
$ npm init li-app
With Yarn:
$ yarn create li-app
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 init li-app my-project --template vue
cd my-project
npm install
npm run dev
Currently supported template presets include:
vanilla
vue
vue-ts
react
react-ts
preact
preact-ts
lit-element
lit-element-ts
vue2-microapp