Giter Site home page Giter Site logo

laravel-preset's Introduction

Note: This is no longer maintained as I don't actually use it myself, I just set this stuff up from scratch each time since it only takes a minute to do and Laravel 6 ships with less boilerplate to delete.

๐Ÿš€ Adam Wathan's Laravel Frontend Preset

A Laravel frontend preset that scaffolds out new applications just the way I like 'em ๐Ÿ‘Œ๐Ÿป

What it includes:

Installation

This package isn't on Packagist (yet), so to get started, add it as a repository to your composer.json file:

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/adamwathan/laravel-preset"
    }
]

Next, run this command to add the preset to your project:

composer require adamwathan/laravel-preset --dev

Finally, apply the scaffolding by running:

php artisan preset nothingworks

What's nothingworks? NothingWorks Inc. is the absurd name I chose for my business, where I create products like Refactoring to Collections and Test-Driven Laravel ๐Ÿ˜„

laravel-preset's People

Contributors

adamwathan avatar assertchris avatar bmartus avatar calebporzio avatar danielstgt avatar sixlive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-preset's Issues

git-ignoring compiled assets makes deployment with forge impossible

Hello Adam, thank you for this preset.

Adding the compiled assets to .gitignore makes the deployment with a forge setup impossible, unless the assets get compiled during deployment.

I have seen this git-ignoring in @JeffreyWay council repository too.

Do you guys compile the assets during the deployment process or how do you handle this issue?

Thank you.

How do you install this?

I'm not extremely new to Laravel (read: I just finish Jeffrey's 100-episode forum series) but I have no idea how to install this. Maybe I'm missing something but I don't see installation instructions...

And before you shout at me, yes I have tried googling and nothing came up.

Sorry if this isn't the right place.

unable to install / 6.0 requirement

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for adamwathan/laravel-preset dev-master -> satisfiable by adamwathan/laravel-preset[dev-master].
    - Conclusion: remove laravel/framework v6.0.3
    - Conclusion: don't install laravel/framework v6.0.3
    - adamwathan/laravel-preset dev-master requires laravel/framework ^5.7 -> satisfiable by laravel/framework[5.7.x-dev, 5.8.x-dev].
    - Can only install one of: laravel/framework[5.7.x-dev, v6.0.3].
    - Can only install one of: laravel/framework[5.8.x-dev, v6.0.3].
    - Installation request for laravel/framework (locked at v6.0.3, required as ^6.0) -> satisfiable by laravel/framework[v6.0.3].

@import not compiling down

Hi!

Why would my @import not compile?

@tailwind preflight;

@import "components/navigation.css";

@tailwind utilities;

/* Add utilities here... */

and my mix file:

let mix = require('laravel-mix')
require('laravel-mix-purgecss')

mix.js('resources/assets/js/app.js', 'public/js').version()
  .postCss('resources/assets/css/app.css', 'public/css')
  .options({
    postCss: [
      require('postcss-import')(),
      require('tailwindcss')('./tailwind.js'),
      require('postcss-cssnext')({
        // Mix adds autoprefixer already, don't need to run it twice
        features: { autoprefixer: false }
      }),
    ]
  })
  .purgeCss()

Not getting any errors.
Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.