ecreeth/waves

Laravel 前端预设,适用于 React、Tailwindcss 与 Styled Components

维护者

详细信息

github.com/ecreeth/waves

源代码

问题

安装次数: 37

依赖者: 0

建议者: 0

安全: 0

星标: 1

关注者: 0

分支: 0

开放问题: 0

语言:HTML

0.0.6 2019-06-26 19:01 UTC

This package is auto-updated.

Last update: 2024-09-27 06:39:31 UTC


README

这个脚手架结构正在 eCreeth 的前端中使用。

文件的基本结构

这将移除 view 目录
  • resources/views

    • auth
      • passwords
        • email.blade.php
        • reset.blade.php
      • login.blade.php
      • register.blade.php
      • verify.blade.php
    • layouts
      • master.blade.php
    • index.blade.php
  • resources/js

    • app.js
    • bootstrap.js
  • root

    • tailwind.config.js
    • webpack.mix.js

  • @babel/preset-react
  • react
  • react-dom
  • tailwindcss
  • @tailwindcss/custom-forms
  • laravel-mix-purgecss

内容

安装

composer require ecreeth/waves

使用

然后运行

  • php artisan preset waves
  • npm install && npm run devyarn && yarn run dev