#trying tom implement springboot in agular

63 messages Β· Page 1 of 1 (latest)

knotty whale
#

but says it is not installed dunno how

novel mulch
#

SpringBoot is not meant to be added in an Angular Application.

#

SpringBoot is a framework for backend applications.

knotty whale
#

and sent data to my database

novel mulch
knotty whale
novel mulch
#

Angular communicates with the backend application (SpringBoot or whatever) with HTTP request. Angular doesn't not even know which framework is used on backend side.

novel mulch
knotty whale
#

it is lol

novel mulch
#

Then ask your uni if they know better.

knotty whale
#

it did weird lol

#

gonna check path file

novel mulch
#

About Bootstrap, it's encouraged to add it in Angular by using one of the Angular lib wrapper, like ng-boostrap: https://ng-bootstrap.github.io/#/home

#

The ng add command will not only install Bootstrap dependancy but update your files to add proper configuration for an Angular application.

knotty whale
knotty whale
novel mulch
knotty whale
#

copied the pathfile but will still be annoying

novel mulch
# knotty whale just getting a headache from this sh

I understand, we have people struggling with the installation here on a regular basis as you might not know ng-bootstrap when learning.

Remove bootstrap from package.json and the changes you made in angular.json and styles.css before running ng add @ng-bootstrap/ng-bootstrap

knotty whale
novel mulch
knotty whale
#

and just add the path like i did before?

novel mulch
#

run ng serve

storm quest
#

Here's an explanation on adding the bootsrap library: #off-topic message

#

It's still recommended to use something like ng-bootstrap, but I assume that the course just uses the generic bootstrap library

knotty whale
#

don t have this

novel mulch
knotty whale
#

the course sya npm install --save bootstrap@3

novel mulch
# knotty whale

remove the red line from your styles.scss file and add the import in angular.json like Mickael just showed (not starting with '../')

knotty whale
novel mulch
#

yes

knotty whale
#

also added the scripts but still the errorπŸ₯²

novel mulch
knotty whale
#

the @import?

novel mulch
novel mulch
knotty whale
#

oh that was it

#

πŸ’€

novel mulch
#

try to restart ng serve

knotty whale
#

yeah that was itπŸ˜… 😊

novel mulch
#

That's more likely empty due to your app.component.html being empty too

knotty whale
storm quest
#

@knotty whale I'm not sure which version of bootstrap is used in the course, did you install the exact same version? If yes, you should not encounter any issues following along
Recently bootstrap has changed so older code/snippets might not work with the new version.

knotty whale
#

so dunno

novel mulch
knotty whale
#

and the thing i made with bootstrap in intellij is prob newest but that shoule be fine

knotty whale
novel mulch
storm quest
knotty whale
#

seems to be that alr

#

right?πŸ˜