Giter VIP home page Giter VIP logo

Comments (5)

ivanxuu avatar ivanxuu commented on July 19, 2024 3

For me using master like this in mix.exs works fine:

 defp devs do
   ...
   {:phoenix_slime, github: "slime-lang/phoenix_slime"}
   ...
 end

Maybe would be worth it to bumb the version available at hex.pm (0.9.0)?

from phoenix_slime.

doomspork avatar doomspork commented on July 19, 2024

Howdy @Spinsus, have you tried master yet?

from phoenix_slime.

Gawyn avatar Gawyn commented on July 19, 2024

I am having the same issue, and running the slime version in Github solves it.

from phoenix_slime.

neneboe avatar neneboe commented on July 19, 2024

Also, the command generates the file in the wrong directory for the phoenix 1.3 default directory structure. Currently generates in web/templates/layout, should generate in lib/[app name]_web/templates/layout

from phoenix_slime.

ramaboo avatar ramaboo commented on July 19, 2024

slime 0.6.0 new phoenix 132 app fails with

➜  skippy git:(master) ✗ mix phoenix.gen.layout.slime
** (UndefinedFunctionError) function Mix.Phoenix.copy_from/5 is undefined or private. Did you mean one of:

      * copy_from/4

    Mix.Phoenix.copy_from([".", :phoenix_slime], "priv/templates/phoenix.gen.layout.slime", "", [application_module: "ApplicationName"], [{:eex, "app.html.eex", "web/templates/layout/app.html.slim"}])
    lib/mix/tasks/phoenix.gen.layout.slime.ex:16: Mix.Tasks.Phoenix.Gen.Layout.Slime.run/1
    (mix) lib/mix/task.ex:314: Mix.Task.run_task/3
    (mix) lib/mix/cli.ex:80: Mix.CLI.run_task/2
    (elixir) lib/code.ex:677: Code.require_file/2

from phoenix_slime.

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.