ExamGecko
Question list
Search
Search

Question 212 - Certified B2B Commerce Developer discussion

Report
Export

Which three file extensions are allowed in a Lightning Web Component folder?

A.
.js-meta.xml
Answers
A.
.js-meta.xml
B.
.html
Answers
B.
.html
C.
.Js
Answers
C.
.Js
D.
.gif
Answers
D.
.gif
E.
.jar
Answers
E.
.jar
Suggested answer: A, B, C

Explanation:

In a Lightning Web Component folder, the allowed file extensions include .js-meta.xml for the component's metadata, .html for the component's markup, and .js for the component's JavaScript class. These files are essential for defining the structure, behavior, and metadata of a LWC. Salesforce LWC documentation provides detailed information on the structure of a LWC bundle and the purpose of each file type within it.

asked 23/09/2024
Rakesh Sonawane
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first