:clipboard: Angular app using Webpack & Tailwindcss components to display a login dashboard
angular.json
file modified to use custom builder and webpack.config.js
filenpm i
to install dependencies.ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.npm run build
to build the project. The build artifacts will be stored in the dist/
directory.ng test
to run Jasmine unit tests via Karmang e2e
to execute the end-to-end tests via Protractor.app.component.html
showing tailwindcss used to style input checkbox & label<div class="flex items-center">
<input
id="remember_me"
name="remember_me"
type="checkbox"
class="w-4 h-4 text-indigo-600 border-gray-300 rounded focus:ring-indigo-500"
/>
<label for="remember_me" class="block ml-2 text-sm text-gray-900">
Remember me
</label>
</div>
tailwind.config.js
) that tree-shakes unused styles and optimizes the final build size.[email protected]