As I ask Upon:
In my Laravel 10 vite.config.js I try to load Bootstrap.js:
import { defineConfig } from 'vite'
import laravel from 'laravel-vite-plugin';
import inject from "@rollup/plugin-inject";
import { readdirSync,lstatSync } from 'fs';
import { resolve } from 'path';
function getFilesFromDir(dir, fileTypes) {
const filesToReturn = [];
function walkDir(currentPath) {
if(lstatSync(currentPath).isFile()){
filesToReturn.push(currentPath);
return;
…
I try to load bootstrap js using vite. But my vite seems not to be able to. Can u help me?
Top comments (0)