Answer the question
In order to leave comments, you need to log in
How to import node_modules in Laravel?
When importing from dependencies (package.json) of the "startbootstrap-sb-admin-2" package, it gives an error.
window.Popper = require('popper.js').default;
window.$ = window.jQuery = require('jquery');
require('bootstrap');
require('startbootstrap-sb-admin-2');
...
Answer the question
In order to leave comments, you need to log in
require('startbootstrap-sb-admin-2');
require('папка-с-каким-то-сайтом');
JS scripts into your assembly, and what should happen, the admin panel will appear automatically instead of your site?Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question