3.4.0 • Published 5 years ago
create-li-app v3.4.0
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-appWith Yarn:
$ yarn create li-appThen 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 devCurrently supported template presets include:
vanillavuevue-tsreactreact-tspreactpreact-tslit-elementlit-element-tsvue2-microapp