Frontend Repository for HSM Project
root
├── .next # next server files
├── components # Reusable files
├── node_modules # node modules
├── Pages # frontend render files
├── public
│ ├── imgs # Images files here (if any)
├── styles # Styling files here
- Clone this repository
https://github.com/EphraimDev/hsm-fe.git
- Navigate to the project's directory:
- Run
npm install
to install dependencies - Run
npm install --save @zeit/next-css
to import.css
files - Create a
next.config.js
in the root of your project - Run
npm run dev
to start the server on a local host
-
In your
next.config.js
file add the following// next.config.js const withCSS = require('@zeit/next-css') module.exports = withCSS()