Jan-29-2019, 07:07 PM
(Jan-29-2019, 06:58 PM)snippsat Wrote: You don't need to use server that gulp create.yhea i did that, but i missed some scripts, but should i move all the folders (html,css,js,img) to the static folder?
After you have run gulp it's also generated HTML/CSS/JS/img files,this file you need to move to Flask static folder and link them up.
A do show how i link up in tutorial with template that i use there.
It can be different for your template,but it should give a hint on how to do it.
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='vendor/bootstrap/css/bootstrap.min.css') }}" /> # Original link that i have comment out and done link to flask static folder <!--<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">--> <script src="{{ url_for('static', filename='vendor/jquery/jquery.min.js') }}"></script> <!--<script src="vendor/jquery/jquery.min.js"></script>--> # images <img src="static/img/portfolio/cake.png" class="img-responsive" alt="">