How to set up minimal Aurelia project from scratch

前端 未结 6 718
猫巷女王i
猫巷女王i 2021-01-30 01:22

When installing the Aurelia navigation skeleton app it is far to overwhelming with all the 3rd party modules and ready-made scripts it uses. For me who have a good picture of wh

6条回答
  •  独厮守ぢ
    2021-01-30 02:06

    I'm working with a Java Play project and still want to use the scala conversion of HTML file. Thus, I did the following

    1. Download aurelia-core available via the basic aurelia project, which is linked from the quickstart tutorial
    2. Fetch SystemJS using WebJars: "org.webjars.npm" % "systemjs" % "0.19.38"
    3. Since systemjs-plugin-babel is currently unavailable as webjar, I ran npm install systemjs-plugin-babel and copied the fetched files to the assets directroy

    The HTML code is like this:

    ...loading data...

    Use main.js etc. from the quickstart tutorial

提交回复
热议问题