First, we need to install babel-cli globally Open terminal and say npm install -g @babel/core @babel/cli Then, you will need a preset that babel will follow for now, we will use preset-env: npm install -g @babel/preset-env We will check if / where preset-env is installed which @babel/preset-env It may return nothing, but in my OS
ARCHIVE
Tips
Posted on September 26 2018 / in Tips
To see current processes do this in terminal sudo lsof -i ':80' To stop the built in apache server in Mac OS X do sudo apachectl stop
Posted on September 25 2018 / in Tips
best option would be to use cpanel option if avaialble recommandation Install brew brew install certbot use this command certbot --apache -d yourdomain.com this might also work sudo certbot certonly --manual create the file requested
Posted on September 11 2018 / in Tips
Go to your project write heroku login then git add . git commit -m "update" git push heroku master
Posted on September 11 2018 / in Tips
Disable for specific page add this on top of the file /* eslint-disable */ Disable for whole project Create a file named .eslintignore and enter **/*
Posted on September 4 2018 / in Tips
In your command prompt / powershell enter git config --global core.autocrlf false if you are getting errors when cloning git products in PHPSTORM
Posted on August 1 2018 / in Javascript, Tips
Go to the text editor ( where you can input html content ) and input: <script>setInterval(function(){ if(window.jQuery){ jQuery(window).trigger('resize'); } },3000);</script>
Recent Comments