trailheadapps/lwc-recipes-oss
关于
A collection of easy-to-digest code examples for Lightning Web Components on any platform.
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Lightning Web Components Recipes Open Source
A collection of easy-to-digest code examples for Lightning Web Components Open Source. Each recipe demonstrates how to code a specific task in 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!
Learn more about this app by completing the Quick Start: Explore the Lightning Web Components OSS Recipes Sample App Trailhead project or by watching this short presentation video.
Recipes Live Version
Check out https://lwc-recipes-oss.herokuapp.com live on Heroku. Or on https://recipes.lwc.dev.
Deploy to Heroku
If you want to deploy LWC Recipes Open Source to Heroku, you can do the following:
- Create a Heroku application:
heroku create <app name>
- Deploy the application:
git push heroku main
Local Development
- Clone the
lwc-recipes-ossrepository:
git clone https://github.com/trailheadapps/lwc-recipes-oss
cd lwc-recipes-oss
- Install the project dependencies using
npm(oryarn, if you prefer that alternatively)
npm install
- Build the LWR static site.
npm run build
- Start the app in watch mode.
npm run dev
- Enjoy the app!
Code Tours
Code Tours are guided walkthroughs that will help you understand the app code better. To be able to run them, install the CodeTour VSCode extension.
探索相关项目
加载中…