meteor-sitemaps
meteor-sitemaps copied to clipboard
Sitemaps using flowrouter and React
Does your sitemap package require Blaze templates and iron router? I tried to use it and had no errors whatsoever, but could not find where it placed the sitemap.xml file. I used the following first few lines to start the process, as you have in your documentation
sitemaps.add('/sitemap.xml', function() {
Maybe I just am not sure where to look for the file.
Thanks
It does not require Blaze or Iron Router. You can use it with FlowRouter and React.
This package uses webapp to mount a middleware and dynamically serves xml. See here. That is probably why you could not find sitemap.xml file.
@sungwoncho I did as instructions said and created server/sitemap.js and nothing is produced. (webapp is installed)