Coder Social home page Coder Social logo

Comments (3)

adamwathan avatar adamwathan commented on August 29, 2024

How are you thinking it would work, optional command line flag? Definitely
think it's a reasonable idea. Is your use case solvable with a symlink or
is it more complex than that?
On Mon, Mar 21, 2016 at 5:38 PM David Mosher [email protected]
wrote:

Would be cool to have an option to specify the source
https://github.com/tightenco/jigsaw/blob/master/jigsaw#L29 and
destination https://github.com/tightenco/jigsaw/blob/master/jigsaw#L28
folders.

Usage Example
I would like to build a static site out of pieces of my dynamic site.
Therefore I would love for it to share the same layouts, partials, etc.,
but don't want to put all of my view files in your /source folder. [image:
😉]

I'm more than willing to code this up...just wanted to clear it with you
first before I proceed...


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#24

from jigsaw.

arenowebdev avatar arenowebdev commented on August 29, 2024

Yeah...an optional argument I think would work best. I fiddled with the idea a bit this afternoon and found that it will be somewhat difficult with the jigsaw file in that we would have to bind the paths after the command is invoked. There is a getFinder method on the Illuminate ViewFactory which I'm pretty sure is the way to go...just haven't had time to complete that connection. Thanks for the reply!

from jigsaw.

damiani avatar damiani commented on August 29, 2024

v1.0.0 added this capability via a key in config.php, see this section of the docs for details.

We also have an open PR (#76) for adding this to the command line, if there's still a need for that approach.

from jigsaw.

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.