sumatoglobal/inertia-tailwind-preset

此包已被弃用且不再维护。作者建议使用 team-underground/inertia-tailwind-preset 包。

Inertiajs 与 tailwindcss 前端预设

0.0.2 2019-12-27 06:48 UTC

This package is auto-updated.

Last update: 2020-03-25 06:53:15 UTC


README

注意: Inertia.js 项目处于非常早期的开发阶段,目前尚不打算公开使用。因此,此预设的状态可能会因 Inertia.js 的变化而发生重大变化。

此预设架构移除了使用 Inertia.js、Vue js 和 Tailwindcss 运行所需的手动步骤。

使用

  1. 安装 Laravel >= 6.0 并进入您的应用程序目录。
  2. 通过 composer require sumatoglobal/inertia-tailwind-preset 安装此预设。Laravel 将自动发现此包。无需注册服务提供者。

安装

  1. 使用 php artisan preset sumato 安装架构
  2. npm install && npx tailwind init && npm run dev
  3. 通过 php artisan serve (或等效命令) 运行服务器并测试预设。