You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## add *.cer to .gitignore to prevent certificates from being saved in repo
17
+
if! grep -Fxq '*.cer' ./.gitignore
18
+
then
19
+
echo"# .CER Certificates">> .gitignore
20
+
echo"*.cer">> .gitignore
21
+
fi
22
+
23
+
## add *.pem to .gitignore to prevent certificates from being saved in repo
24
+
if! grep -Fxq '*.pem' ./.gitignore
25
+
then
26
+
echo"# .PEM Certificates">> .gitignore
27
+
echo"*.pem">> .gitignore
28
+
fi
29
+
30
+
echo
31
+
echo -e "\e[1;92mReady!\e[0m"
32
+
33
+
echo -e "\n\e[1;94m**********\nOptional: if you plan on using gulp serve, don't forget to add the container certificate to your local machine. Please visit https://aka.ms/spfx-devcontainer for more information\n**********"
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/m365devprogram)
48
+
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](https://aka.ms/m365devprogram)
48
49
49
50
## Contributors
50
51
51
-
*[Ari Gunawan](https://github.com/AriGunawan)
52
+
-[Ari Gunawan](https://github.com/AriGunawan)
52
53
53
54
## Version history
54
55
@@ -58,42 +59,32 @@ Version|Date|Comments
58
59
59
60
## Minimal path to awesome
60
61
61
-
* Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/tailwindcss3) then unzip it)
62
-
* From your command line, change your current directory to the directory containing this sample (`tailwindcss3`, located under `samples`)
63
-
* in the command line run:
64
-
*`npm install`
65
-
*`gulp serve`
62
+
- Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tailwindcss3) then unzip it)
63
+
- From your command line, change your current directory to the directory containing this sample (`react-tailwindcss3`, located under `samples`)
64
+
- in the command line run:
65
+
-`npm install`
66
+
-`gulp serve`
66
67
67
68
> This sample can also be opened with [VS Code Remote Development](https://code.visualstudio.com/docs/remote/remote-overview). Visit <https://aka.ms/spfx-devcontainer> for further instructions.
68
69
69
-
<!--
70
-
RESERVED FOR REPO MAINTAINERS
71
-
72
-
We'll add the video from the community call recording here
73
-
74
-
## Video
75
-
76
-
[](https://www.youtube.com/watch?v=XXXXX "YouTube video title")
77
-
-->
78
-
79
70
## Help
80
71
81
72
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
82
73
83
74
If you're having issues building the solution, please run [spfx doctor](https://pnp.github.io/cli-microsoft365/cmd/spfx/spfx-doctor/) from within the solution folder to diagnose incompatibility issues with your environment.
84
75
85
-
You can try looking at [issues related to this sample](https://github.com/pnp/sp-dev-fx-webparts/issues?q=label%3A%22sample%3A%20tailwindcss3%22) to see if anybody else is having the same issues.
76
+
You can try looking at [issues related to this sample](https://github.com/pnp/sp-dev-fx-webparts/issues?q=label%3A%22sample%3A%20react-tailwindcss3%22) to see if anybody else is having the same issues.
86
77
87
-
You can also try looking at [discussions related to this sample](https://github.com/pnp/sp-dev-fx-webparts/discussions?discussions_q=tailwindcss3) and see what the community is saying.
78
+
You can also try looking at [discussions related to this sample](https://github.com/pnp/sp-dev-fx-webparts/discussions?discussions_q=react-tailwindcss3) and see what the community is saying.
88
79
89
-
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected%2Csample%3A%20tailwindcss3&template=bug-report.yml&sample=tailwindcss3&authors=@AriGunawan&title=tailwindcss3%20-%20).
80
+
If you encounter any issues using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected%2Csample%3A%20react-tailwindcss3&template=bug-report.yml&sample=react-tailwindcss3&authors=@AriGunawan&title=react-tailwindcss3%20-%20).
90
81
91
-
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion%2Csample%3A%20tailwindcss3&template=question.yml&sample=tailwindcss3&authors=@AriGunawan&title=tailwindcss3%20-%20).
82
+
For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion%2Csample%3A%20react-tailwindcss3&template=question.yml&sample=react-tailwindcss3&authors=@AriGunawan&title=react-tailwindcss3%20-%20).
92
83
93
-
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement%2Csample%3A%20tailwindcss3&template=suggestion.yml&sample=tailwindcss3&authors=@AriGunawan&title=tailwindcss3%20-%20).
84
+
Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement%2Csample%3A%20react-tailwindcss3&template=suggestion.yml&sample=react-tailwindcss3&authors=@AriGunawan&title=react-tailwindcss3%20-%20).
94
85
95
86
## Disclaimer
96
87
97
88
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
"This project showcases an integration of Tailwind CSS into an SPFx project. It offers a sample implementation, facilitating straightforward setup and utilization of Tailwind CSS for enhanced styling and design in SharePoint Framework projects."
"name": "Build your first SharePoint client-side web part",
45
+
"description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.",
0 commit comments