Answer the question
In order to leave comments, you need to log in
How to compile Vue components into different JS/CSS files using Webpack?
For example, there are two vue components:
HomeComponent.vue
BlogComponent.vue
js/home.js
js/blog.js
css/home.css
css/blog.css
mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');
Answer the question
In order to leave comments, you need to log in
Add another column to your table that will store the link or page id. and it will be possible to add a condition to the query WHERE page=$_SERVER['REQUEST_URI']
;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question