<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="27452" data-post-id="27452">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="windholtz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/windholtz/120/2373_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  windholtz
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Its good news that elm is now working for you.   Would you be willing to share your directory structure and your brunch-config.js file?   I’d still like to get my example app above working for everyone to see.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="27452" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-27452" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="27452"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="27462" data-post-id="27462">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mm-tfx" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mm-tfx
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Sure. I’ll provide all details tomorrow.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="27462" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-27462" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="27462"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="27492" data-post-id="27492">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mm-tfx" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mm-tfx
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>When I started with Elm and Phoenix I put Elm code into <code>web</code> directory and now when moving towards Phoenix 1.3 I kept this structure. So now Elm code is in <code>lib/my_app/web/elm</code><br>
<code>brunch-config.js</code> and <code>package.json</code> are in <code>assets</code> directory.<br>
Elm part in <code>brunch-config.js</code> looks like this:</p>
<pre data-code-wrap="json"><code class="lang-json">elmBrunch: {
      elmFolder: "../lib/my_app/web/elm",
      mainModules: ["Main.elm"],
      outputFolder: "../../../../assets/js"
    }
</code></pre>
<p>I have also added Elm path to (still brunch-config.js):</p>
<pre data-code-wrap="js"><code class="lang-js">watched: [ "static", "css", "js", "vendor", "../lib/my_app/web/elm"],
</code></pre>
<p>I have modified <code>package.json</code> according to Phoenix upgrade instruction but I had to update devDependencies.<br>
For this I created new Phoenix application using <code>mix phx.new</code> and I copied this part of a <code>package.json</code><br>
Now it looks like this:</p>
<pre data-code-wrap="js"><code class="lang-js">{
  "repository": {},
  "license": "MIT",
  "scripts": {
    "deploy": "brunch build --production",
    "watch": "brunch watch --stdin"
  },
  "dependencies": {
    "phoenix": "file:../deps/phoenix",
    "phoenix_html": "file:../deps/phoenix_html"
  },
  "devDependencies": {
    "babel-brunch": "6.0.6",
    "brunch": "2.10.7",
    "clean-css-brunch": "2.10.0",
    "css-brunch": "2.10.0",
    "elm-brunch": "^0.8.0",
    "uglify-js-brunch": "2.1.1"
  }
}
</code></pre>
<p>Last thing I did was to update <code>assets/js/app.js</code> I had to add <code>import Elm from "./main.js</code></p>
<pre data-code-wrap="elm"><code class="lang-elm">import Elm from "./main.js"
const elmDiv = document.getElementById('elm-main')
   , elmApp = Elm.Main.embed(elmDiv)
</code></pre>
<p>Before it worked for me even without this import line, maybe it should work without anyhow, I’ll try.</p>
<p>Please let me know if you need more information.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="27492" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-27492" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="27492"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="27714" data-post-id="27714">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="windholtz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/windholtz/120/2373_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  windholtz
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Its working!<br>
The example Phoenix App (new git repo below) is now loading and displaying HelloElm.elm</p>
<p>This is how you could connect an Elm into the new directory structure of a Phoenix 1.3 app.</p>
<p>Full example of the configs that work, see: <a href="https://github.com/mwindholtz/elm_phoenix_1_3" rel="noopener nofollow ugc">https://github.com/mwindholtz/elm_phoenix_1_3</a></p>
<p>Thanks to everyone for suggestions and examples.</p>
<p>I’m removing the old git repo from previous posts, since it is just a mess at this point.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="27714" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-27714" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="27714"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="27716" data-post-id="27716">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="windholtz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/windholtz/120/2373_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  windholtz
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>NOTE: the GitHub repo in this post was replaced by the working example at <a href="https://github.com/mwindholtz/elm_phoenix_1_3" rel="noopener nofollow ugc">https://github.com/mwindholtz/elm_phoenix_1_3</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="27716" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-27716" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="27716"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="28069" data-post-id="28069">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Oxyrus" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Oxyrus/120/842_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Oxyrus
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I still can’t manage to get it working, I have my Elm folder under <code>lib/my_app/web/elm</code>, I have my <code>Main.elm</code> file as follows:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">module HelloWorld exposing (..)

import Html

main =
  Html.text "Hello world from Elm!"
</code></pre>
<p>My <code>brunch-config.js</code> is as follows:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">exports.config = {
  files: {
    javascripts: {
      joinTo: "js/app.js"
    },
    stylesheets: {
      joinTo: "css/app.css"
    },
    templates: {
      joinTo: "js/app.js"
    }
  },

  conventions: {
    assets: /^(static)/
  },

  paths: {
    watched: ["static", "css", "js", "vendor", "../lib/my_app/web/elm"],
    public: "../priv/static"
  },

  plugins: {
    babel: {
      ignore: [/vendor/]
    },
    
    elmBrunch: {
      elmFolder: "../lib/my_app/web/elm",
      mainModules: ["Main.elm"],
      makeParameters: ['--debug'],
      outputFolder: "assets/js"
    }
  },

  modules: {
    autoRequire: {
      "js/app.js": ["js/app"]
    }
  },

  npm: {
    enabled: true
  }
};
</code></pre>
<p>My <code>app.js</code> file:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">import "phoenix_html"
import Elm from "./main.js"

const elmDiv = document.getElementById('elm-main')
    , elmApp = Elm.SeatSaver.embed(elmDiv)
</code></pre>
<p>But I get the error</p>
<blockquote>
<p>iex(1)&gt; 16:22:00 - error: Processing of js/app.js failed. Error: Could not load module ‘./main.js’ from ‘/home/ubuntu/workspace/my_app/assets/js’. Make sure the file actually exists.</p>
</blockquote>
<p><strong>Edit</strong></p>
<p>Also tried with <a class="mention" href="/u/most" rel="nofollow">@Most</a> instructions:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">exports.config = {
  files: {
    javascripts: {
      joinTo: "js/app.js"
    },
    stylesheets: {
      joinTo: "css/app.css"
    },
    templates: {
      joinTo: "js/app.js"
    }
  },

  conventions: {
    assets: /^(static)/
  },

  paths: {
    watched: ["static", "css", "js", "vendor", "../lib/my_app/web/elm"],
    public: "../priv/static"
  },

  plugins: {
    babel: {
      ignore: [/vendor/]
    },
    
    elmBrunch: {
      elmFolder: "../lib/my_app/web/elm",
      mainModules: ["Main.elm"],
      outputFolder: "../../../../assets/js",
      outputFile: "elm.js",
      makeParameters: ['--debug']
    },
    
  },

  modules: {
    autoRequire: {
      "js/app.js": ["js/app"]
    }
  },

  npm: {
    enabled: true
  }
};
</code></pre>
<p>Running <code>$ find -name "elm.js"</code> doesn’t return any file for given name, so it’s not compiling the file.</p>
<p>I keep getting</p>
<blockquote>
<p>iex(1)&gt; 16:39:50 - error: Processing of js/app.js failed. Error: Could not load module ‘./elm.js’ from ‘/home/ubuntu/workspace/my_app/assets/js’. Make sure the file actually exists.</p>
</blockquote>
<p>What am I missing here?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="28069" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-28069" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="28069"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="28072" data-post-id="28072">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="windholtz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/windholtz/120/2373_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  windholtz
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Are you able to get my example project from the link above, working?  It uses a different directory structure with assets/elm</p>
<p>Also, remember to check your package.json for the latest version numbers of everything including brunch.   This took me hours to learn.  <img src="https://forum.elixirforum.com/images/emoji/apple/frowning.png?v=15" title=":frowning:" class="emoji" alt=":frowning:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="28072" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-28072" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="28072"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="28075" data-post-id="28075">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Oxyrus" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Oxyrus/120/842_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Oxyrus
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve also tried with it under <code>assets/elm</code> but it still doesn’t output the file so I get an error when I <code>import Elm from './main.js'</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="28075" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-28075" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="28075"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="28211" data-post-id="28211">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Most" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Most/120/394_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Most
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Are you seeing anything In your terminal when you start the phoenix server about elm failing or succeeding to compile?</p>
<p>For example:</p>
<pre><code>Elm compile: Main.elm, in ../lib/my_app/web/elm, to ../../../../assets/js/elm.js
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="28211" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-28211" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="28211"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
    <div class="postbit" id="28304" data-post-id="28304">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Oxyrus" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Oxyrus/120/842_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Oxyrus
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>No, the error is the same</p>
<blockquote>
<p>iex(1)&gt; 16:39:50 - error: Processing of js/app.js failed. Error: Could not load module ‘./elm.js’ from ‘/home/ubuntu/workspace/my_app/assets/js’. Make sure the file actually exists.</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="28304" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/setup-for-elm-in-phoenix-1-3-0-rc-directory-structure/4156/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-28304" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="28304"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/4156/load_more?page=3">Load more posts (7 remaining)</a>
</div></template></turbo-stream>