<component :is="testComp" />
computed: {
testComp(){
return () => include('componets/testComp')
}
}
if using nuxt-i18n, MUST BE - parsePages: false ['nuxt-i18n', { parsePages: false, // Disable acorn parsing }]
Helper for developer
<component :is="testComp" />
computed: {
testComp(){
return () => include('componets/testComp')
}
}
if using nuxt-i18n, MUST BE - parsePages: false ['nuxt-i18n', { parsePages: false, // Disable acorn parsing }]
cat /etc/os-release
https://www.ionos.com/community/hosting/php/install-and-use-php-composer-on-ubuntu-1604/ windows 10 https://devanswers.co/install-composer-php-windows-10/
1. login as root 2. sudo chown -R username /home/username/.ssh 3. sudo chmod 0700 /home/username/.ssh 4. sudo chmod 0600 /home/username/.ssh/authorized_keys copy key for user ssh-copy-id username@host
chmod go-w ~/ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
REGISTER APP https://developers.facebook.com/apps 1. Add new app 2. Add product: Facebook Login SET SETTINGS 1. My App > Settings > Basic > Domains > example.com 2. My App > Settings > Basic > URL site > https://example.com 3. Facebook Login > Settings > Use Strict Mode for Redirect URIs(always Enabled) 4. Facebook Login > Settings > Valid OAuth redirect URIs > https://example.com/auth/facebook/callback 5. Facebook Login > Settings > Deauthorize Callback URL > https://example.com/auth/facebook
1. cd project.git 2. git symbolic-ref HEAD refs/heads/mybranch HEAD file (master): ref: refs/heads/master HEAD file (branch): ref: refs/heads/branch https://feeding.cloud.geek.nz/posts/setting-default-git-branch-in-bare/
Simple merge from branch to master git checkout master git pull origin master git merge test git push origin master
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
sudo /etc/init.d/apache2 stop
certbot.eff.org sudo certbot --apache or sudo certbot --apache -d www.example.com with no inputs & domain & no redirect sudo certbot -n --apache -d www.example.com --no-redirect
DELETE ssl sudo certbot delete or sudo certbot delete --cert-name example.com https://www.digitalocean.com/community/tutorials/an-introduction-to-let-s-encrypt https://medium.com/@hbayraktar/how-to-setup-lets-encrypt-ssl-for-apache-on-ubuntu-18-04-cfa97a83bc08 commands https://certbot.eff.org/docs/using.html#certbot-commands https://stackoverflow.com/questions/58626546/shell-script-to-make-site-https-using-certbot-and-nginx