You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Create a new project with buffalo, using the --skip-webpack option.
Start buffalo dev and open a browser to see the home page.
Expected behavior
The page has the same presentation as the webpack one.
Current behavior
The page layout is degraded, due to Bootstrap css link missing (in the webpack setup, bootstrap is embedded using sass).
Proposed fix
Use the WithWebpack opt to detect if webpack is not used, then add Bootstrap link to the template.
{{- if not .opts.WithWebpack }}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
{{- end }}
The text was updated successfully, but these errors were encountered:
Setup
Steps to reproduce
--skip-webpack
option.buffalo dev
and open a browser to see the home page.Expected behavior
The page has the same presentation as the webpack one.
Current behavior
The page layout is degraded, due to Bootstrap css link missing (in the webpack setup, bootstrap is embedded using sass).
Proposed fix
Use the
WithWebpack
opt to detect if webpack is not used, then add Bootstrap link to the template.The text was updated successfully, but these errors were encountered: