Separate CSS files are only needed if you are building "Standalone HTML"
files, basically using TW as a way to build non-TW-enabled "Static" HTML
files.
If you are building a "single file TiddlyWiki", then all the CSS you need
is already included ("transcluded" *win-wink*) into the page when it is
loaded. Each "CSS tiddler" (tiddlers tagged with "$:/tags/Stylehseet") is
included in the page-header when it is rendered in the browser.
Best,
Joshua Fontany
On Saturday, October 10, 2020 at 7:24:54 AM UTC-7 [email protected] wrote:
> Thanks, I'll try it. What about the css file? Do I need to run another
> command to generate it?
>
> On Fri, Oct 9, 2020, 11:12 PM Saq Imtiaz <[email protected]> wrote:
>
>> Try adding the following command and using it to generate the HTML file:
>>
>> "build": {
>> "index": [
>> "--rendertiddler",
>> "$:/plugins/tiddlywiki/tiddlyweb/save/offline",
>> "index.html",
>> "text/plain"
>> ],
>> example:
>> https://github.com/saqimtiaz/streams/blob/master/tiddlywiki.info#L12
>>
>> On Wednesday, October 7, 2020 at 1:21:52 AM UTC+2, Rika Sukenik wrote:
>>>
>>> hi! i'm getting 3 XMLhttpRequest errors when my page loads. You can see
>>> the errors here: www.rikasukenik.com
>>>
>>> the errors appeared after I made the below updates to my tiddliwiki.info
>>> file. I made the edits because I had an issue yesterday with site
>>> non-responsiveness after using --build static. Javascript was not included
>>> in the static html file. I got some guidance to add a test command, but now
>>> I'm getting these XMLhttpRequest errors.
>>>
>>> I appreciate some eyes on this problem! thank you!
>>>
>>> "test": [
>>> "--rendertiddler",
>>> "$:/core/save/all",
>>> "index.html",
>>> "text/plain",
>>> "--rendertiddler",
>>> "$:/core/templates/static.template.css",
>>> "static/static.css",
>>> "text/plain"
>>>
>> --
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/Kfk12gPwOsY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/73e73751-5327-4cbf-9a2a-30200f8bef0bo%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/73e73751-5327-4cbf-9a2a-30200f8bef0bo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0c6690f3-fe12-448a-a06b-f0b104d736e7n%40googlegroups.com.