Re: How to use bootstrap with vibe.d.

2020-11-07 Thread Arjan via Digitalmars-d-learn
On Thursday, 5 November 2020 at 16:22:11 UTC, Alaindevos wrote: This is from the bootstrap documentation. I think you must adapt this to .dt files. dt files are basically pugjs https://pugjs.org/ files. When you use vscode with this extension:

Re: How to use bootstrap with vibe.d.

2020-11-07 Thread Arjan via Digitalmars-d-learn
On Thursday, 5 November 2020 at 16:22:11 UTC, Alaindevos wrote: This is from the bootstrap documentation. I think you must adapt this to .dt files. ``` ... ... html( lang='nl' ) head title #{pageTitle} meta( charset="utf-8") meta( name="viewport"

Re: How to use bootstrap with vibe.d.

2020-11-05 Thread James Blachly via Digitalmars-d-learn
On Thursday, 5 November 2020 at 16:22:11 UTC, Alaindevos wrote: This is from the bootstrap documentation. I think you must adapt this to .dt files. Correct. It looks like flask_bootstrap is just a convenience that injects the js and css scripts or script URI for you into master flask

Re: How to use bootstrap with vibe.d.

2020-11-05 Thread Alaindevos via Digitalmars-d-learn
It know it gives you nice buttons. I suppose to use it you add the bootstrap .js and .css file links to the diet templates.

Re: How to use bootstrap with vibe.d.

2020-11-04 Thread James Blachly via Digitalmars-d-learn
On Wednesday, 4 November 2020 at 19:01:16 UTC, Alaindevos wrote: (title). In flask it is "from flask_bootstrap import Bootstrap". But what do you have to do with vibe.d ? I am not sure you really understand what bootstrap is?

How to use bootstrap with vibe.d.

2020-11-04 Thread Alaindevos via Digitalmars-d-learn
(title). In flask it is "from flask_bootstrap import Bootstrap". But what do you have to do with vibe.d ?