Skip to content

Commit afdaab7

Browse files
authored
Update README.md
1 parent 02acabd commit afdaab7

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ Add the following to your gemfile:
1616

1717
Add the following directive to your Javascript manifest file (application.js):
1818

19-
//= require moment
19+
//= require converse
20+
21+
If you receive javascript errors [like these](https://github.com/requirejs/almond#incorrect-module-build-no-module-name), try adding _converse.js_ and _converse.css_ manually in your layout file, after all other javascripts:
22+
23+
<html>
24+
<head>
25+
<!-- all of your js and css files here -->
26+
<!-- ..... -->
27+
<%= stylesheet_link_tag "converse" %>
28+
<%= javascript_include_tag "converse" %>
29+
</head>
30+
...
2031

2132
## Versioning
2233

@@ -25,4 +36,4 @@ conversejs-rails 1.0.3 == Converse.js 1.0.3
2536
Every attempt is made to mirror the currently shipping Converse.js version number
2637
wherever possible. The major, minor, and patch version numbers will always
2738
represent the Converse.js version. Should a gem bug be discovered, a 4th version
28-
identifier will be added and incremented.
39+
identifier will be added and incremented.

0 commit comments

Comments
 (0)