Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Using Cookbook Components

Has anyone ever used the UI elements of the Cookbook in a local application? Are there any instructions on how to use them? When using it, I get the error that "@campusonline/components" cannot be found in the Angular project and cannot be imported.

Errror Message:
"Cannot find module '@campusonline/components' or its corresponding type declarations.ts(2307)"

Do you have to add the campusonline components additionaly to your project?

Thanks :)

  
  
Posted 8 months ago
Votes Newest

Answers 2


Hi Steffen,

Du hast "@campusonline/components": "1.11.0" zur package.json im frontend Ordner hinzugefügt und dann npm install im frontend Ordner aufgerufen, oder?

  "dependencies": {
...
    "@angular/router": "^14.1.3",
    "@campusonline/desktop": "1.11.0",
    "@campusonline/model": "1.11.0",
    "@campusonline/theme": "1.11.0",
    "@campusonline/components": "1.11.0",
    "@ngx-translate/core": "^14.0.0",
...
  }

Ich werden in den supersonic archetype ein coa-icon auf der hello Page hinzufügen, damit wir in Zukunft auch eine Referenz in der supersonic haben, ob das referenzieren von components funktioniert.

lg zoni

2
2
Posted 8 months ago
Edited 8 months ago

Hallo Zoni,

mit der Ergänzung im package.json und npm install funktioniert es. Danke dir!

Wenn man eine kleine Komponente, wie du beschrieben hast, mit in das Beispiel aufnehmen kann, wäre das für den Einstieg sehr hilfreich.

Viele Grüße
Steffen

  
  
Posted 8 months ago
829 Views
2 Answers
8 months ago
8 months ago
Tags