Comments (4)
Hi trivesc,
I am currently in another attempt to learn more about devn4ng and Angular in general. I have only very little experience outside the java-based server domain, so everything (node.js / npm, angular CLI, typescript, ... and even HTML and JavaScript) is completely new to me.
Therefore, I am extremely easily confused by ambiguities in instruction texts and examples.
Please be tolerant if my issues are to nitpicky.
from jump-the-queue.
Hello Jan-PeterRichterCG,
It is better that your issues are nitpicky, that way, the guide can be improved to the point where there is no issues and everything is clear.
Thanks for the feedback
from jump-the-queue.
Hello Jan-PeterRichterCG,
When the guide talks about importing the CoreModule
, it means that in every component (that has a module) where you use either Angular Material or Covalent Teradata has to have the CoreModule
imported on their module. If the component has no module, it will use the app module.
Concerning the import { HttpClientModule } from '@angular/common/http';
: it is not needed since, we already import the HttpClientModule
in the core. You can remove the import and the declaration inside Imports: [
Finally, import 'hammerjs';
, this javascript library needs to be imported when gesture is being used. Yarn does not import it automatically, you need to add it manually.
I am sorry for the confusion and i will be fixing everything you have mentioned here and in the other issues as soon as possible.
Thanks for the feeback
from jump-the-queue.
Hello @Jan-PeterRichterCG ,
The CoreModule explanation has been changed to be more understandable. After adding the covalent and material libraries with yarn, the user sees this text:
Angular Material and Covalent need the following modules to work: CdkTableModule, BrowserAnimationsModule and every Covalent and Material Module used in the application. These modules come from @angular/material, @angular/cdk/table, @angular/platform-browser/animations and @covalent/core. In futur steps a CoreModule will be created, this module will contain the imports of these libraries, this will avoid code repetition.
Also, after creating the CoreModule, a note was added and the text after it clarified:
Note:
This CoreModule has almost every module of the different components for Angular Material and Covalent Teradata if you decide to use a component that is not included here, you need to add the corresponding module of the component here.
Text:
Remember that we need to import this CoreModule module into the app.module and inside every module of the different components that use Angular Material and Covalent Teradata. If a component does not have a module, it will be imported in the AppModule and hence, have the CoreModule. Our app.module.ts should have the following content:
The extra import from HttpClientModule has been removed.
And finally, hammer-js has been added in an earlier step when adding the styles to avoid confusion.
In the same file than previous step, the hammer library is going to be added. In order to do so, we add inside both "scripts" arrays (inside build and test) the minimified script:
i am gonna close this issue since it has been solved,
Thanks for the feedback and regards,
trivesc
from jump-the-queue.
Related Issues (20)
- "Build your own devon4j application" links to TeamForge Download site with outdated devonfw distribution HOT 1
- devonfw documentation still uses the term OASP in some cases HOT 1
- devon4j installation instructions should make a note on patching HOT 1
- Creating a new application with devcon doesn't work as described and leaves open questions HOT 1
- "Build your own devon4j application" contains links to non-existent wiki pages HOT 1
- "relation between visitor and daily queue" must be "relation between visitor and access code" HOT 1
- Note on error for AccessCodeEntity is outdated HOT 1
- Confusing comment with respect to saving entities HOT 1
- Adding ViewQueue path to Routes is error prone
- authService must be public to allow AoT
- Typo in code snippet of styles of "Adding Google Material and Covalent Teradata"
- How does core.module.ts work?
- Misleading Cobigen value for AccessCode component HOT 1
- Missing sort parameter in pageables of the services
- VisitormanagementTest fails (when following the tutorial documentation)
- Tests fail during Maven install (when following the tutorial documentation)
- Updating multiple times one Entity on DB
- Import modules from @angular/material in core.module.ts doesn't work
- Problems in Wiki Componentes
- CORS configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jump-the-queue.