This plugin help you to create LWC component with .scss file easily
Refactoring code and tested on 1.44 VSCode
Fixed bug with recreate module with existing name
Fixed bug with recreate component with existing name
- Windows bugs fixed
- If you create Module, will open .js file
- Update logo
Now you can create components with different format styles css,sass,scss,less
.
After successful creation you will see js
document of your component
Fixed bug with creating components in project with whitespace name.
Camel case create components with lower case first letter.
File constants.scss
had removed.
Folder common
had removed.
Now you can change default folder frontend/components
in settings Extentions->LWC Creator
File mixins.scss
rename to constants.scss
.
Component .scss
file will only with empty class
Now if folders not exists frontend/components
they will create automatically. Folder common
and file mixins.scss
will be create same.
Add logo icon for plugin
Complete plugin for LWC Open Source.
- Press
Ctrl+Shift+P
(Windows, Linux) orCmd+Shift+P
(macOS) to see a list of Markdown snippets - Choose
LWC Create Component
orLWC Create Module
- Input
Name
of component(module) witch you want to create (use camel-case)
Look the lwc-creator
Enjoy!