Aurelia skeleton sample - dist / main.js not found?

I try to run skeleton-navigation-typescript -vs on my windows computer, but it fails - I only see the welcome screen, and there is a message in the developer tools:

http: // localhost: 9000 / dist / main.js Failed to load the resource: the server responded with a status of 404

I do everything from documents - step by step. http://aurelia.io/docs.html#/aurelia/framework/1.0.0-beta.1.0.8/doc/article/a-production-setup .

When I check the Chrome developer tools on the Sources tab, there is only css, jspm_packages, lib and index.html - there is no dist distribution.

Is this working sample? What am I doing wrong?

+4
source share
1

index.html, . index.html :

<body aurelia-app="main">

:

<body aurelia-app>

aurelia-app, js . http://aurelia.io/docs.html#/aurelia/framework/1.0.0-beta.1.0.8/doc/article/app-configuration-and-startup

main.js src, :

export function configure(aurelia) {
  aurelia.use
    .standardConfiguration()
    .developmentLogging();

  aurelia.start().then(() => aurelia.setRoot());
}

gulp -watch , .

+4

Source: https://habr.com/ru/post/1626323/


All Articles