Git Product home page Git Product logo

Comments (7)

darrenjacoby avatar darrenjacoby commented on July 25, 2024 2

Added from 1.2.0

From your Sage theme dir

composer require soberwp/intervention:1.2.0-p

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024 2

No prob, going to add to Models and Bundle too.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024 1

@9585999 makes sense, let me see what I can do.

Essentially all that needs to change is the package.json file and the way it's required, which could be done using an conditional statement. Branching out for a Sage version could work.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

@9585999

I have had a similar request on the Models plugin. I think the same would apply for Intervention.

I don't think Intervention is that closely coupled with a theme that is should be a theme dependency. If you're using Bedrock, you can use Composer to install the mu-plugin.

I'm open to debate though, but I know a lot of users using Intervention may also not use Bedrock or Sage.

from intervention.

9585999 avatar 9585999 commented on July 25, 2024

@darrenjacoby

Well probably that that there is a category of people which uses sage and does not use Bedrock, is the basic factor for realization intervention/models/bundle installation in a folder vendor/soberwp.

In any case, you can after all give people a choice where to put, for example, if you use Bedrock then composer require soberwp/plugin, if you want to put in the topic then for example composer require soberwp/plugin:sage.

A real example where this might come in handy: you need to develop a theme/add a specific functionality to an already working site. The site was originally made without the use of Berdock/Sage. Most likely you will not put Bedrock on him, you will take Sage and start working, and here the magic begins: you put Sage/Intervention/Models/Bundle, it's fast and convenient and is executed in only 5 commands in the terminal.

from intervention.

9585999 avatar 9585999 commented on July 25, 2024

@darrenjacoby Thank you for your attention.

from intervention.

9585999 avatar 9585999 commented on July 25, 2024

@darrenjacoby Nice, Thank you!

from intervention.

Related Issues (20)

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.