serenodo
Messages postés15Date d'inscriptiondimanche 30 avril 2017StatutMembreDernière intervention 6 mars 2020
-
Modifié le 4 mars 2020 à 17:40
serenodo
Messages postés15Date d'inscriptiondimanche 30 avril 2017StatutMembreDernière intervention 6 mars 2020
-
6 mars 2020 à 13:01
Bonjour,
Est-il possible d''afficher une liste des derniers fichiers créés dans une page Html?
Les noms des fichier existe dans un dossier en.js dans le site.
function store (data)
{
data[0] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data[1] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data[2] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data3] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
}
You want to use Bundling and Minification. Depending on your version of MVC, the implementation is slightly different. In the newest version, it is used by default.
Bundling and Minification will combine and minify all your scripts (and styles sheets) into one file (or multiple, depending on how you use it) and serve them up with a unique parameter. Any time a file changes in that particular bundle (and thus the user would require to download the new files) the parameter automatically changes. https://www.upsers.mobi/
serenodo
Messages postés15Date d'inscriptiondimanche 30 avril 2017StatutMembreDernière intervention 6 mars 2020 6 mars 2020 à 08:50
Do you need to get all files present in the directory or you want to scan a directory for files using node.js, then you’re on the correct web page because in this Nodejs How to Tutorial, we will learning How to get the list of all files in a directory in Node.js.
Vous n’avez pas trouvé la réponse que vous recherchez ?