menu
Logo
  • Warum azing?
  • Blog
  • Hilfe
DEarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo DEarrow_drop_down
  • DE
  • EN
  • Warum azing?
  • Hilfe
2sxc
drive_folder_upload
  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordPro: Develop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Angular Apps Development
  • south
  • fiber_manual_recordPrevious Version: Dnn-Sxc-Angular 6
  • south

folder_sharedSetup dnn-sxc-angular 6

  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordPro: Develop with 2sxc (Apps, Content-Types, Templates, etc.)
  • south
  • fiber_manual_recordJS: Angular Apps Development
  • south
  • fiber_manual_recordPrevious Version: Dnn-Sxc-Angular 6
  • south

folder_sharedSetup dnn-sxc-angular 6

Ordner und Checklisten

  • check_circlednn-sxc-angular - Enable ng serve development (OLD - CORS)
  • check_circlednn-sxc-angular - Quick Start
  • check_circlednn-sxc-angular - Tutorial - Accessing Content using REST and content$

Teile (4) expand_more

Teil-Dokumente werden als von anderen Checklisten wiederverwendet, sind aber nicht geeignet als Einstieg in eine Tätigkeit. Deshalb erscheinen sie weiter unten. Die Suche wird diese auch nicht anzeigen, ausser man sucht explizit nach Teilen. 

  • check_circleAdjustments to Production Build
  • check_circleCreate the View which Hosts the Component
  • check_circleIntegrate dnn-sxc-angular into your App
  • check_circleTroubleshooting

This guide will help you to create a new 2sxc app with Angular 6+. It assumes you have already used 2sxc and know how to add apps, views and content types. If this is not the case, please start with the guide to create your own app. Before you start, make sure you have installed 2sxc 9+. The guide was tested with Angular CLI 6.1.4; the files may differ for later versions.

Instead of following this guide you can download the prepared 2sxc sample app here: https://github.com/2sic/app-dnn-sxc-angular-dev

Prepare

  1. Create an empty 2sxc app
  2. Create an angular app within that using the CLI: ng new [app-name] --directory ./
  3. (Change the build to keep the file names the same all the time) (todo: not needed with new .cshtml)
  4. Create the view which will host it as a component in dnn/2sxc (todo: change to use new .cshtml template)
  5. Add dnn-sxc-angular and make the app aware of it

If you run into issues, check troubleshooting or post questions on stack-overflow with the tags dnn, 2sxc, angular.

Optional Steps

  1. Try to access some data
  2. Setup to work with ng serve
Logo
Rechtliches | Inhalts-Copyright CC-BY 4.0
bug_reportFehler melden
  • info
  • Links
  • Rechte
code Teilen
code
URL in Zwischenablage kopiert.
Checkliste einbetten close
Kopieren Kopieren
Inhalts-Copyright

CC-BY 4.0

Übersetzungen

Keine

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/9qdbjvl_
Anschauen & Verwenden

Öffentlich (nutzbar für jeden)

Bearbeiten & Verwalten

Standard (alle Mitglieder können bearbeiten)

Dieser Katalog verwendet ein einfaches Berechtigungsmodell, bei dem alle Mitglieder die selben Rechte haben. Für weitere Optionen, bitte Upgraden.

Hier siehst du die Beziehungen zwischen diesem Dokument und anderen.

Verwendet in (2)

Andere, die hierhin verweisen

  1. dnn-sxc-angular - Enable ng serve development (OLD - CORS)
  2. dnn-sxc-angular - Tutorial - Accessing Content using REST and content$
Verwendet diese (6)

Andere, die in diesem Dokument verwendet werden

  1. Adjustments to Production Build
  2. Create the View which Hosts the Component
  3. Integrate dnn-sxc-angular into your App
  4. Troubleshooting
  5. dnn-sxc-angular - Tutorial - Accessing Content using REST and content$
  6. dnn-sxc-angular - Enable ng serve development (OLD - CORS)
Wie es verwendet wird

Die Kategoriesierung verändert das Verhalten des Dokuments.

Dies ist ein normales Dokument, es wird normal angezeigt und erscheint in der Suche.

Typ

Das ist eine Checkliste. Listen werden zu Checkboxen umgewandelt.

Haben Sie etwas zu sagen?

Kommentieren Sie, um eine Diskussion zu beginnen oder eine Notiz zu machen
send

Bitte einloggen um zu chatten.

close

Durchsuche ganz Azing