npm install select2
npm install jquery --save
"styles": [
"node_modules/select2/dist/css/select2.min.css",
...
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/select2/dist/js/select2.min.js"
...
]
...
import { HttpClientModule } from '@angular/common/http';
...
imports: [
HttpClientModule,
...
],
#angular 8 #angular 9 #laravel 7 #laravel 7.2 #laravel