npm run dev

Posts made by root
-
How to fix $supabase does not exist on type in NUXTJS
I'm getting this error when i access my $supabase nuxt plugin in pages/index.vue
~/plugins/supabase.js
import {createClient} from '@supabase/supabase-js' export default ({ app },inject) => { const supabaseUrl = app.$config.supabaseUrl const supabaseKey = app.$config.supabaseApi const supabase = createClient(supabaseUrl, supabaseKey) inject('supabase', supabase) }
i loaded plugin in nuxt config
plugins: [ {src: '~/plugins/supabase.js', mode : 'client'} ],
Anyone can help to fix this issue, i use typescript with nuxtjs
-
Secure Your Laravel Website: A Guide on How to Force Redirect HTTP to HTTPS for Better SEO
In this article, i'll explain how to redirect HTTP to HTTPS in Laravel. Whether you're using Laravel 6, 7, 8, 9 or 10 we've got you covered!
We have to modify AppServiceProvider boot method, i also disable HTTPS redirect in local.
in app/Providers/AppServiceProvider.php.
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Pagination\Paginator; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { } /** * Bootstrap any application services. * * @return void */ public function boot() { if ($this->app->environment('production')) { \URL::forceScheme('https'); } Paginator::useBootstrap(); } }
-
RE: Europe රටකට IT related business idea එකක්
pm ekak damma balala kiyanna
-
RE: Hi. I'm new here. I'm looking for few developers for project in KOREA.
hello what kind of project do you have ?
-
RE: Static website nuxtjs or nextjs
both are same bro the only difference is react and nextjs developed by big companies.
-
How to Fix "nvm not found" Error in MacOS
When you install NVM using Homebrew, you still need to add the following lines to your shell configuration file (.bashrc, .zshrc, etc.)
export NVM_DIR="$HOME/.nvm" . "/usr/local/opt/nvm/nvm.sh"
If you are using the Bash shell, open the ~/.bashrc file in your favorite text editor, and add the following lines at the end of the file:
export NVM_DIR="$HOME/.nvm" . "/usr/local/opt/nvm/nvm.sh"
If you are using the Zsh shell, open the ~/.zshrc file in your favorite text editor, and add the following lines at the end of the file:
export NVM_DIR="$HOME/.nvm" . "/usr/local/opt/nvm/nvm.sh"
After adding the lines to the appropriate file, save it and close the editor. Then, restart your terminal or run the source command to load the changes:
source ~/.bashrc
source ~/.zshrc
-
How to Flush DNS on Mac – MacOS Clear DNS Cache
MacOS Version Command macOS 12 (Monterey and above) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder macOS 11 (Big Sur) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder macOS 10.15 (Catalina) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder macOS 10.14 (Mojave) sudo killall -HUP mDNSResponder macOS 10.13 (High Sierra) sudo killall -HUP mDNSResponder macOS 10.12 (Sierra) sudo killall -HUP mDNSResponder OS X 10.11 (El Capitan) sudo killall -HUP mDNSResponder OS X 10.10 (Yosemite) sudo discoveryutil udnsflushcaches OS X 10.9 (Mavericks) sudo killall -HUP mDNSResponder OS X 10.8 (Mountain Lion) sudo killall -HUP mDNSResponder Mac OS X 10.7 (Lion) sudo killall -HUP mDNSResponder Mac OS X 10.6 (Snow Leopard) sudo dscacheutil -flushcache Mac OS X 10.5 (Leopard) sudo lookupd -flushcache Mac OS X 10.4 (Tiger) lookupd -flushcache -
RE: Sampath payment gateway response issue
documentation eka danna balanna
-
RE: Android game developed using Unity 3D
Great man, can you post tutorial how to make a game with Unity 3D
-
RE: WordPress Premium Plugin Themes අවශ්ය එකක් ඉල්ලන්න
Niyamai machan keep it up.
-
RE: How Can i Fix Wordpress database Error
please check database login credentials and host , wordpress cannot establish database connection with your database server
-
TPM Device is not Detected in Dell Inspiron 3000
My laptop got shutdown immediately , then showing a warning message "TPM Device is not Detected", after this warning screen windows stuck in the boot screen .
please help me to fix this