Utilisez le plus que possible le ng CLI pour générer les fichiers souhaités
src-┐
assets-
styles-
index.html
main.ts
app-┐
moduleName-┐ // ng g module <name> [--route <routeName> --module <moduleTargeted>] [--routing]
async function asyncFlatMap (arr, asyncFn) { | |
return Promise.all(flatten(await asyncMap(arr, asyncFn))) | |
} | |
function asyncMap (arr, asyncFn) { | |
return Promise.all(arr.map(asyncFn)) | |
} | |
function flatMap (arr, fn) { | |
return flatten(arr.map(fn)) |
# Path to your oh-my-zsh installation. | |
export ZSH=/home/yoann/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="avit" | |
# Uncomment the following line to use case-sensitive completion. |