Prettier working wrong with Salesforce APEX - salesforce

Prettier working wrong with Salesforce APEX
before formatting and
after formatting. I need solution...

Related

Can't get Tailwind CSS to work on my existing project in Intellij

I am trying to add Tailwind CSS to my existing project. For now it's only a simple project with a log-in function, but before I implement the backend and database, I want to style it. I've followed the instructions here: https://tailwindcss.com/docs/installation, but i know I'm missing something, but don't know what.
Setup-picture
Does someone have a clue?

Storybook in Salesforce Lightning or alternative

Recently I've joined a new job and they are working with Salesforce. They have all pages with APEX and I propose to migrate to Lightning components.
I've created the first 7 components and I'm using Atomic Design Methodology (https://atomicdesign.bradfrost.com/chapter-2/) to develop these components.
I want to implement stories (with Storybook) or another similar library to document and put examples of each web component.
My question is... Is it possible? I try to install Storybook in the project and isn't working. The question is simple, whether or not you can. And if not, if you know any alternative to it.
Thank you!
In order to use Storybook, you will need to follow the provided Storybook documentation for lightning "Web Component" rather than the other available options like React and configure your VS Code to work with your SF Environment. Also, you might want to look into downloading the lwc-services, lwc-webpack-plugin and mo-dx-plugin dependency.

How to integrate zoho crm webforms(Ex:Contact us) in Reactjs PWA application

I have a generated Zoho CRM webform for Contact us. I need to integrate that form into my react application and submit user inputs. I can get the iframe version, javascript version, and HTML/CSS version of the generated code. I want to know which one is best for the Reactjs PWA application and can we use this directly with react. Can someone help me with this?
I would suggest avoiding iframe altogether. You might find a lot of issues when dealing with cross-domain artifacts and policies. If you want to customize the look and feel of the form, better go ahead with the HTML & CSS version. JavaScript file will be an external dependency. It also would be a hacky / non-react way.

How to use Adobe's React Web Component tool in AEM Maven project

I'm unable to figure out how to use #adobe/react-webcomponent in an AEM Maven multi-module project.
I have tried a similar tool which has a sample project, and it works, but I would much rather use Adobe's instead.
Currently I can not find much documentation on this tool other than the github page and cannot find any sample project at all that demonstrates how it is used.
An ideal resolution would be a working sample AEM Maven multi-module project that shows how to properly use #adobe/react-webcomponent to have React components available in AEM site editor. Thanks in advance for any help!
I don't have exactly what you're looking for, but I did some work with that in this branch of another Adobe project. It's about using a web-component to render a search box and a search results component written in React.

Parsley.JS Form Validation Issues

I am using Parsley JS for form validation but I don't know what I am missing. Right now, HTML5 is doing the validation part of it. I would be truly grateful if someone can assist because I am racking my brain and cannot figure it out.
Here is my code.
Form Only Code:
http://hastebin.com/ecofitidir.html
Full Page Code:
http://hastebin.com/etawaduqif.html
Website:
www.polarpos.com/contacttest/application.php
your code is ok, by the way do not use any js script just the parsley.min.js and data attr!
i have tried your code and the validation works perfect. try to download the parsley.min.js again and make sure your scripts like so :
Your code is fine don't change it.
and by the way it does not need any ja code to work. here's my code. i have tried it on laravel project of mine

Resources