dolittle / Home

Dolittle is a platform designed to build Line of Business applications without sacrificing architectural quality, code quality or scalability.
http://www.dolittle.io
MIT License
27 stars 5 forks source link

New dolittle boundedcontext index.html doesn't show aurelia modules like app.html #70

Closed joelhoisko closed 4 years ago

joelhoisko commented 4 years ago

Creating a new project with:

dolittle create application MyApp
dolittle create boundedcontext MyBound
cd MyBound/Web
yarn
yarn start

results in a blank page, no spinner, only packaged js files:

<body aurelia-app="main">

  <script type="text/javascript" src="/runtime~app.324dc12b216ca7f1cff4.bundle.js"></script><script type="text/javascript" src="/vendors~._node_modules_@dolittle_c.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_a.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_an.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_aurelia-d.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_aurelia-h.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_aurelia-p.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_aurelia-ta.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_e.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_es6-promise_dist_es6-promise.js~13683c8a.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_q.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/vendors~._node_modules_u.324dc12b216ca7f1cff4.chunk.js"></script><script type="text/javascript" src="/app~._F.324dc12b216ca7f1cff4.chunk.js"></script>

</body>

Adding your own stuff to index.ejs shows up, but adding simple <h1 style="color: black;'>hello</h1> to app.html template doesn't show up.

You can also use yarn build and then serve it using dotnet run if you fix the webpack outputdir but the results are the same.

Environment:

@dolittle/cli v8.1.4
@dolittle/boilerplates.interaction.web.ts.aurelia@2.0.1
@dolittle/boilerplates.veracity.bounded-context.csharp@3.1.4
@dolittle/boilerplates.bounded-context.csharp@1.0.0
@dolittle/boilerplates.artifacts.csharp@1.0.0
@dolittle/boilerplates.application@3.0.0

 "devDependencies": {
    "@dolittle/typescript.build": "^5.3.4",
    "@dolittle/typescript.webpack.aurelia": "^1.1.0",
    "dotenv": "^6.1.0"
  },
  "dependencies": {
    "@dolittle/aurelia": "^2.0.0"
  }

┆Issue is synchronized with this Asana task

joelhoisko commented 4 years ago

This error is actually because of the updated capitalization, fixes are incoming. Closing this for now.

https://github.com/dolittle-tools/TypeScript.Webpack/pull/7 https://github.com/dolittle-boilerplates/Interaction.Web.TS.Aurelia/pull/4