Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Let’s go ahead and setup our http-server, for this we will be using http-server npm package to help us with this, this is useful for static sites where we do not want to setup a node server manually.
This will ensure we only have two themes, The default dark and default light theme. One more plugin that we will use is the tailwind typography plugin, this will automatically add styles to certain elements such as p tags, heading tags, code tags etc. Read more about it here.
Next up is Daisy UI, kill all the services running in the terminals and let’s go ahead and install it: npm i daisyui open up your tailwind.config.js file and inside the plugins array add the following, require("daisyui") next open you index.html and add the following under the heading, Button
Related posts
- Need help setting up a remote depository using GitHub and VCS
- What is the simplest way to run an index.html file inside a server.js file using node.js
- Looking to host React Static Application on AWS S3 question on dependencies
- Opened my angular project after a week to find it like that? (All the stuff i built doesn't appear anymore). Any Idea why ? (Note: in the extensions the "Angular Language Service" seems to have had an update). Opening from Chrome shows the html but not the rest of the code.
- When they run the http-server command in the codespace, is it an alias in the .bashrc file that executes something along the lines of 'sudo systemctl start apache2' after they configured the apache2 server? Or is there a much simpler aproach that I didn't take into consideration?