建站与开发

  • Vue3.0中ref函数

    1、基本用法ref()函数用来根据给定的值创建一个响应式的数据对象,ref()函数调用的返回值是一个对象,这个对象上只包含一个.value属性const count = ref(0)console.log(count.value) 输出值为0count.value++console.log(count.value) 输出值为12、在template中访问ref创建…

    2023-09-13 211

  • Cloning failed using an ssh key for authentication提示解决办法

    Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private reposHead to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+名称+时间to retrieve a token. It will be stored in “C:/Us…

    2023-09-13 175

  • composer创建tp项目,提示You can also run `php --ini`解决方法

    To enable extensions, verify that they are enabled in your .ini files: - D:\phpStudy\PHPTutorial\php\php-7.2.1-nts\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.Installation failed, reverting .…

    2023-09-13 180

  • 通过composer安装TP依赖的详细教程

    没有安装fileinfo扩展出现如下错误:Loading composer repositories with package informationUpdating dependenciesYour requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires alipaysdk/easysdk 2.0 -…

    2023-09-13 292

  • 解决composer更新依赖php版本冲突

    composer install报错Your requirements could not be resolved to an installable set of packages.Problem 1 - Installation request for league/flysystem 1.0.49 -> satisfiable by league/flysystem[1.0.49]. - league/flysystem 1.0.49 requires ext-file…

    2023-09-13 176