New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

create-lwr

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-lwr

## Scaffolding Your First LWR Project

0.7.0-alpha.17
73

Supply Chain Security

100

Vulnerability

78

Quality

99

Maintenance

100

License

Version published
Weekly downloads
823
288.21%
Maintainers
6
Weekly downloads
 
Created

create-lwr

Scaffolding Your First LWR Project

Compatibility Note: LWR requires Node.js version >=14.0.0.

With NPM:

$ npm init lwr

With Yarn:

$ yarn create lwr

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 LWR + lwc-ts project, run:

# npm 6.x
npm init lwr@latest my-lwr-app --template lwc-ts

# npm 7+, extra double-dash is needed:
npm init lwr@latest my-lwr-app -- --template lwc-ts

# yarn
yarn create lwr my-lwr-app --template lwc-ts

# pnpm
pnpx create-lwr my-lwr-app --template lwc-ts

FAQs

Package last updated on 15 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts