我正在讨论,我想知道包装html属性的最好方法是什么(如果行超过120个字符)。我们使用的集成开发环境(PHPstorm)有一个属性对齐选项,这是我所知道的标准。在本例中,我们使用的是带有webpack的vueJS2,但这个问题适用于每个html文件。使用对齐属性:
<cart-item v-for="cartItem in this.cartItems"
我想用VueJS在我的页面上显示一条消息,但Laravel不想显示它,并向我发送了一条错误消息: Use of undefined constant message - assumed 'message' (this will throw an Error in a future version of PHP) 我的index.blade.php: <a v-bind:href="link"> {{message }} </a> 我的</em