我通过以下方式在项目中引入了bulma:
$ npm install bulma
Run Code Online (Sandbox Code Playgroud)
之后,我如何在我的页面中引用它.我真的不知道如何使用npm,所以请你指导我.我是否必须在我的js中提及它:
import bulma from 'bulma'或者要求它,我不知道我的文件在哪里.这意味着我不知道他们在哪里.
如何使用vue-router使用该预定义模板:
https://vuetifyjs.com/examples/layouts/google-contacts
我在items对象中添加了一个链接
items:
[{ icon: 'dashboard' text: 'Home', link: '/'},
{ icon: 'dashboard' text: 'Account', link: '/account'},
Run Code Online (Sandbox Code Playgroud)
我很困惑把路由器链接组件放在哪里.
我正在使用Eclipse IDE作为我的laravel项目的主要IDE.但我不知道如何打开我的刀片文件的突出显示.我该怎么做 ?
我只想问你是否知道如何使用vue-loader为vue文件添加语法高亮.我正在使用Eclipse Neon
$user = $this->user;
$user->name = $request['name'];
$user->email = $request['email'];
$user->password = $request['password'];
$user->save();
$name = explode(' ' ,$user->name);
$profile= $user->userdetail()->create([
'user_id' => $request->input('id'),
'first_name' => <the value of the first exploded string>
'last_name' => the value of the secondexploded string
]);
return redirect('confirmation');
}
Run Code Online (Sandbox Code Playgroud)
如何在PHP中使用爆炸功能拆分两个单词?例如,我注册了一个名为JOhn doe的名称,我想在我的userdetail表中创建john的first_name和doe的last_name。我该怎么做/
在我的 git bash 中,我想通过按退格键来删除一些字符,但是当我这样做时。退格按钮将代替我输入的空格。如何解决这个问题?我在 Windows 10
版本和环境
验证:1.0.13
视图:2.5.13
浏览器:Chrome 67.0.3396.48
操作系统:Windows 10
重现问题的步骤
创建一个包含路由器链接的导航抽屉。
在其中一个链接中创建一个 v-tab 组件,显示每个选项卡的路由器视图。
预期行为
在导航抽屉中的一个链接中,我有一个连接到路由器视图的链接,其中一个链接<v-tab>连接到另一个路由器视图。你能帮我么?
实际行为
选项卡的路由器视图不显示
复制链接:
https://codepen.io/aabbrrm234/pen/deQjEe
<v-app id="inspire">
<v-navigation-drawer fixed :clipped="true" app v-model="drawer">
<v-list dense>
<template v-for="item in items">
<v-layout
row
v-if="item.heading"
align-center
:key="item.heading"
>
<v-flex xs6>
<v-subheader v-if="item.heading">
{{ item.heading }}
</v-subheader>
</v-flex>
<v-flex xs6 class="text-xs-center">
<a href="#!" class="body-2 black--text">EDIT</a>
</v-flex>
</v-layout>
<v-list-group
v-else-if="item.children"
v-model="item.model"
:key="item.text"
:prepend-icon="item.model ? item.icon : item['icon-alt']"
append-icon=""
>
<v-list-tile slot="activator">
<v-list-tile-content>
<v-list-tile-title>
{{ item.text }}
</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
<v-list-tile
v-for="(child, …Run Code Online (Sandbox Code Playgroud) 我已经安装了 php 并使用以下命令通过 powershell 拉取了包:
Set-ExecutionPolicy RemoteSigned; Invoke-WebRequest -Uri " https://github.com/cretueusebiu/valet-windows/raw/master/bin/php71.ps1 " -OutFile $env:temp\php71.ps1; ."$env:temp\php71.ps1"
而且我发现MYSQL没有附带它,现在我想安装xampp并替换它。我要如何删除我在计算机中安装的 php?
使用此代码:
<v-content>
<router-view>
<v-container fluid></v-container>
</router-view>
</v-content>
Run Code Online (Sandbox Code Playgroud)
路由器视图在左侧和右侧都有一个边距
laravel ×3
vuetify.js ×3
eclipse ×2
vue.js ×2
bulma ×1
git-bash ×1
npm ×1
php ×1
powershell ×1
vue-router ×1