npm init -y
Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.
pragma solidity >=0.5.0; | |
interface IUniswapV1Exchange { | |
function balanceOf(address owner) external view returns (uint); | |
function transferFrom(address from, address to, uint value) external returns (bool); | |
function removeLiquidity(uint, uint, uint, uint) external returns (uint, uint); | |
function tokenToEthSwapInput(uint, uint, uint) external returns (uint); | |
function ethToTokenSwapInput(uint, uint) external payable returns (uint); | |
} |
webpack.mix.js
file in root directory:const { mix } = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
/* Optional: uncomment for bootstrap fonts */
// mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/','public/fonts/bootstrap');
Note for me to remember how to set Android Home on Mac | |
Open Terminal and type in.. | |
nano ~/.bash_profile | |
Add the below paths | |
The path should be where your android installation is located | |
export ANDROID_HOME=/Users/username/Library/Android/sdk | |
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
Save file and type in terminal... | |
source ~/.bash_profile |