Details: Web 3 Global Conference is an annual event hosted by web3GlobalConference for insights and networking of the current in the Web3 space. This is pioneered by Jude Anumudu, a Nigeria who base in Lagos.
-
Install Vite
npm create vite@latest web3globalconference_app --template react
-
Navigate into the project directory
cd my-conference-website
-
Install dependencies
npm install
-
Install webpack and loaders
npm install webpack webpack-cli webpack-dev-server babel-loader css-loader style-loader file-loader html-webpack-plugin clean-webpack-plugin --save-dev
-
Run the build command to generate the dist directory:
npm run build
-
Temporarily remove dist from .gitignore to allow it to be committed.
-
Add and commit the dist directory:
git add dist
git commit -m "Add build directory for deployment"
git push origin main
- Deploy to Vercel: Vercel will automatically detect your project settings. Ensure it uses the dist directory for deployment.
- Re-add dist to .gitignore After Deployment.
- Commit the change:
git add .gitignore
git commit -m "Re-add dist to .gitignore"
git push origin main
- This process ensures your dist directory is included for deployment but remains excluded during development to avoid unnecessary clutter and potential conflicts.
-
Install
npm install eslint eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh --save-dev
-
Check for errors ``npx eslint`
-
Identify Syntax Errors: Catch common mistakes and potential errors in your code.
-
Enforce Coding Standards: Maintain a consistent coding style across your project.
-
Best Practices: Ensure best practices are followed in your JavaScript and React code.
-
Automated Fixes: Automatically fix many issues with
eslint --fix
node server.js
ornpm start
,http://localhost:3000/terms