team-underground/inertia-tailwind-preset

Inertiajs 带有 tailwindcss 前端预设

0.0.1 2020-04-09 03:52 UTC

This package is auto-updated.

Last update: 2024-09-23 12:14:46 UTC


README

注意: Inertia.js 项目还处于非常初期的开发阶段,目前尚不打算对外发布。因此,此预设的状态正在变化,可能会根据 Inertia.js 的变化而进行重大调整。

此预设框架移除了启动 Inertia.js、Vue.js 和 Tailwindcss 所需要的手动步骤。

使用方法

  1. 安装 Laravel >= 6.0 并切换到您的应用目录。
  2. 通过 composer require team-underground/inertia-tailwind-preset 安装此预设。Laravel 会自动发现此包。无需注册服务提供者。

安装

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