Article Topic Learning Download Q&A Programming Dictionary Game Recent Updates
LOGIN
简体中文(ZH-CN) English(EN) 繁体中文(ZH-TW) 日本語(JA) 한국어(KO) Melayu(MS) Français(FR) Deutsch(DE)

  • Popular searches:
  • PHP
  • MySQL
  • jquery
  • HTML
  • CSS
  • Whole station
  • Course
  • Article
  • Q&A
Found a total of 10000 related content
  • Best way to preload route data before accessing the route.

    Before rendering the page for a given route, I want to first get the necessary data synchronously. Ideally I'd like to get the data in the page component, but I'm not opposed to doing it in the router file. I've read and tried various approaches, but part of the challenge comes from the fact that th...

    P粉197639753 2023-11-17 14:54:42 0 2 379

  • Vue 3 and Vuetify 3 access SCSS/SASS variables in components

    I want to use predefined variables in my Vue3 component. <

    P粉974462439 2023-11-17 13:52:29 0 1 293

  • Module is not defined in Vue project

    I just created a new Vue application by running npmini tvue@latest as specified in the official documentation. I then tried to add Tailwind to my application following the guide on the Vue and Vite website. However, when opening the file tailwind.config.js, I noticed that ESLint tells me that module...

    P粉235202573 2023-11-17 12:38:53 0 2 394

  • How to add newline character (newline character) in XML file?

    I have an XML file and I want to wrap the text "Sample Text 123" like this SampleText123 I have tried everything I said \n but nothing works: AddressS

    P粉481035232 2023-11-16 16:42:38 0 1 199

  • Catching Guzzle exceptions

    I'm trying to catch exceptions in a set of tests running on an API I'm developing, and I'm using Guzzle to consume the API methods. I have wrapped the test in a try/catch block but it still throws an unhandled exception error. Adding an event listener as described in their documentation doesn't seem...

    P粉511749537 2023-11-16 14:36:03 0 12 290

  • Vue 3 dynamically imports based on Props

    I am using unplugin-icon to create an icon component, normally I can import e.g. //scriptimportIconCopyfrom'~icons/prime/copy'//template and it works, but if we want to use another icon then It felt inconvenient to import one by one, so I created a dynamic component called Eunoicon....

    P粉388945432 2023-11-16 11:40:01 0 1 235

  • Vue 3 Composition API - Disable form submit button until all conditions are met

    I want to disable the form submit button until all input fields are filled in and there are no errors. Suggestletdisabled=ref(true);leterror=ref(false);nextTick(()=>

    P粉360266095 2023-11-13 09:41:53 0 3 438

  • TYPO3 V11: "PHP warning: undefined array key", $this->request->getArguments() is empty

    I'm a new user of typo3, I made a plugin to show users and use the search bar to filter them, but when I want to show my page I get this error: (1/1) #1476107295TYPO3\CMS\Core\Error \ExceptionPHPWarning:Undefinedarraykey"word"inMyPath/Controller/UserlistController.phpline44 in my controlle...

    P粉807471604 2023-11-12 21:35:09 0 1 362

  • Implement filters and pagination using Laravel Eloquent

    I'm trying to create an API that will return all customer records from a database. But this provides paging and filtering functionality. , the filter function is an optional query parameter. So it doesn't have to be included in the query parameters. But I'm having problems doing this. This is the in...

    P粉010967136 2023-11-12 18:42:35 0 1 310

  • Website traffic statistics are inaccurate.

    P粉313673935 2023-11-12 21:49:13 0 0 137

  • Stream data from OpenAI's API using AJAX, PHP, and server-sent events

    How can I use Server Sent Events (SSE) to stream data from the above API to a browser client using JavaScript and PHP? I've been working on this problem for hours and I can't seem to figure out what's going wrong. For reference, I tried adapting the solution here: StreamDATAFromopenaiGPT-3APIusingPH...

    P粉762447363 2023-11-11 12:03:23 0 1 497

  • Increase file upload size in Apache configuration

    Hello everyone! I'm struggling with this configuration issue because I'm trying to increase the file upload size capacity in the Apache configuration but don't know how to do it exactly. I found this post that discusses this but would like to know the correct way to change .htaccess. https://brightw...

    P粉512526720 2023-11-11 11:00:33 0 1 287

  • What is the alternative to pages/_app.js in Application Router in NextJS?

    I've just started using NextJS and there is a new router called Application Router. Now I have some tutorials using pages/_app.js from NextJS page router. So, what is the corresponding file in the application router?

    P粉277824378 2023-11-11 09:38:14 0 1 395

  • Leverage VueJS components in PHP

    I want to mix basic HTML generated by Php and VueJS components without having to use VueJS all the way down to the lowest dom leaf. The parent layout has a Vue application applied, all headers, navigation, sidebars, etc. are Vue components, and the main content on most pages is still pure HTML gener...

    P粉611456309 2023-11-11 00:01:44 0 2 288

  • Title rewritten to: Dynamic component import in Vite with React and typescript causing failure in fast refresh

    I'm trying to create a multi-step form and I'm putting the data in a separate file for constants like this import{lazy} from 'react';exportconststeps=[{id:0,name:'PersonalInfo',component: lazy(()=>import('../components/PersonalInfo')),},];I pass it to the custom hook in the context constdataSteps...

    P粉546179835 2023-11-10 20:45:29 0 1 505

  • PHP mailer not working: no error log, message says sent but not received

    I don't receive any error logs in my webserver's php error log. I've tried several different SMTP servers (other email providers I know work as well). This is my HTML form:

    P粉593118425 2023-11-10 15:02:39 0 1 218

  • Can't modify max_input_vars in PHP

    I need to increase max_input_vars value in php for Moodle installation. However, when I change the value in the php.ini file, the moodleWeb installer still prompts: PHP setting max_input_vars must be at least 5000. phpinfo() shows: max_input_vars=>5000=>5000 Editing the .htaccess file also has...

    P粉176980522 2023-11-10 11:49:31 0 1 277

  • Laravel Space/laravel-backup cannot be installed

    I'm trying to implement automatic backup in Laravel8. I decided to use Laravel-backup package "spatie/laravel-backup". The problem occurs when I try to install the package using "composerrequirespatie/laravel-backup". I'm having this problem: Issue 1 - spatie/laravel-backup[8.1.0...

    P粉821231319 2023-11-10 08:57:17 0 2 224

  • Nuxt.js: window is not defined apexcharts/vue-apexcharts

    I've added this simple example from apexcharts.com. Pretty sure the import is correct. I don't reference window anywhere. When adding this file my entire application stops. I believe this has something to do with SSR or Nuxt configuration.