Extract Vue js

This commit is contained in:
Oliver Davies 2019-04-02 22:07:29 +01:00
parent 99a8e10d25
commit 23ea6414dc
2 changed files with 3 additions and 0 deletions

View file

@ -29,6 +29,8 @@
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{{ site.google_analytics_tracking_id }}', 'auto'); ga('send', 'pageview');</script>
{% endif %}
<script src="/dist/js/manifest.js"></script>
<script src="/dist/js/vendor.js"></script>
<script src="/dist/js/app.js"></script>
{% block scripts %}{% endblock %}
</body>

View file

@ -7,6 +7,7 @@ mix.disableNotifications()
require('postcss-nested'),
require('tailwindcss')('tailwind.config.js'),
])
.extract(['vue'])
.js('resources/js/app.js', 'source/dist/js')
.browserSync({
proxy: 'localhost:8000',