Comments (5)
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.
Howdy @Spinsus, have you tried master
yet?
from phoenix_slime.
I am having the same issue, and running the slime version in Github solves it.
from phoenix_slime.
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.
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)
- Failed to use "cowboy" (version 2.5.0) because phoenix_slime (versions 0.10.0 and 0.10.1) requires ~> 1.0 HOT 5
- Update layout generator to match Phoenix 1.4 default HOT 3
- Elixir 1.8 compatibility HOT 1
- How to use Slime instead of .leex in LiveView? HOT 12
- Dependency Conflict with LiveView HOT 1
- New Mix version HOT 1
- Getting an error when leaving a space between `doctype` and `html` HOT 5
- Inconsistency in generator between new and edit templates HOT 2
- Revise Slime's sigil use in light of LiveView HOT 6
- Error when try to set `selected` attribute on slimleex HOT 2
- Phoenix 1.5 does not render innermost .slimleex template HOT 6
- Option for pretty printing HTML output HOT 2
- Can't compile with phoenix 1.5.3, elixir 1.10.3
- LiveView 0.15 Support
- LiveView test fails with a Diff.many_to_iodata/5 matching error
- Support Embedded Engines with HTML Tags HOT 3
- Slime template engine ignored when using liveview with implicit view module HOT 2
- Support for Phoenix 1.6 & HEEx HOT 18
- Create a new release to support phoenix 1.6.0, phoenix_html 3.0 HOT 2
- Allow colons and slashes in attribute shortcuts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix_slime.