@spree/docs 0.1.116 → 0.1.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,18 +11,8 @@ Spree uses [postmark templates](https://github.com/wildbit/postmark-templates),
|
|
|
11
11
|
|
|
12
12
|
## Email previews
|
|
13
13
|
|
|
14
|
-
Spree
|
|
14
|
+
Spree bundles [ActionMailer previews](https://guides.rubyonrails.org/action_mailer_basics.html#previewing-and-testing-mailers) for all of its transactional emails. They are served automatically in development — there is nothing to install.
|
|
15
15
|
|
|
16
|
+
Start the rails server locally and go to: `localhost:3000/rails/mailers`
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
spree generate spree:emails:install
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
```bash Without Spree CLI
|
|
22
|
-
bin/rails g spree:emails:install
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
After that, start the rails server locally and go to: `localhost:3000/rails/mailers`
|
|
27
|
-
|
|
28
|
-
(it requires a seeded development database in order to work properly)
|
|
18
|
+
(it requires a seeded development database in order to work properly, as the previews render real records)
|