This repo holds my dev portfolio.
Unbox drizzle
truffle unbox drizzle
# update packages
npm install react react-dom
npm audit # Run npm install [email protected] to resolve 68 vulnerabilities
npm install [email protected]
SASS
npm install node-sass
npm install @fortawesome/react-fontawesome @fortawesome/fontawesome-svg-core \
@fortawesome/free-solid-svg-icons @fortawesome/free-brands-svg-icons
touch .env
.env
SASS_PATH=node_modules:src
Init the context using the React Context API: https://github.com/trufflesuite/drizzle-react#using-the-react-context-api-for-react-v163
Make use of the "loading" recipe to show network connection and accounts: https://github.com/trufflesuite/drizzle-react#recipe-loading-component
Add homepage and deploy scripts to package.json:
{
"homepage": "https://vicnala.github.io/portfolio",
"scripts":{
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
}
}
Install gh-pages:
npm install --save gh-pages
MIT © Víctor Navarro.