Skip to content

This repository showcases a Learning Management System built with HTML, Tailwind CSS, JavaScript, and React.js. Enhance your learning experience with a sleek and interactive platform! πŸš€πŸŽ“

Notifications You must be signed in to change notification settings

sanjaraiy/Lms_frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LMS Frontend

Setup instruction

  1. Clone the project
   git clone https://github.com/sanjaraiy/Lms_frontend.git
  1. Move into the directory
   cd LMS-frontend
  1. install dependencies
   npm install
  1. run the server
  npm run dev

Setup instructions for Tailwind

Tailwind official instruction doc

  1. Install tailwindcss
 npm install -D tailwindcss postcss autoprefixer

 npx tailwindcss init -p 
  1. Create tailwind config file
 npx tailwindcss init
  1. Add file extensions to tailwind config file in the content property
  "./src/**/*.{html,js,jsx,ts,tsx}","./index.html",
  1. Add the tailwind directives at the top of the index.css file
  @tailwind base;
  @tailwind components;
  @tailwind utilities;
  1. Add the following details in the plugin property of tailwind config
plugins: [require("daisyui"),require("@tailwindcss/line-clamp")],

Adding plugins and dependencies

  npm install @reduxjs/toolkit react-redux react-router-dom react-icons react-chartjs-2 chart.js daisyui axios react-hot-toast @tailwindcss/line-clamp  

configure auto import sort esline

  1. Install simple import sort
npm i -D eslint-plugin-simple-import-sort
  1. Add rule in .eslint.cjs
'simple-import-sort/imports':'error'
  1. add simple-import sort plugin in .eslint.cjs
plugins:[..., 'simple-import-sort']
  1. To enable auto import sort on file save in vscode
  • Open settings.json
  • add the following config
"editor.codeActionsOnSave":{"source.fixAll.eslint":true }

About

This repository showcases a Learning Management System built with HTML, Tailwind CSS, JavaScript, and React.js. Enhance your learning experience with a sleek and interactive platform! πŸš€πŸŽ“

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages