https://github.com/nathanchase/super-minimal-aurelia
A barebones Aurelia + webpack2 build
https://github.com/nathanchase/super-minimal-aurelia
aurelia babili es6 webpack2
Last synced: 6 months ago
JSON representation
A barebones Aurelia + webpack2 build
- Host: GitHub
- URL: https://github.com/nathanchase/super-minimal-aurelia
- Owner: nathanchase
- Created: 2017-02-28T16:31:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T12:45:29.000Z (over 7 years ago)
- Last Synced: 2025-03-23T22:23:56.963Z (7 months ago)
- Topics: aurelia, babili, es6, webpack2
- Language: JavaScript
- Size: 18.6 KB
- Stars: 19
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# super-minimal-aurelia
A barebones Aurelia + webpack2 build with decorators and async/await supportThis boilerplate is up to date as of April 13th, 2017, and incorporates the following:
* An ES6-based Aurelia implementation (rather than Typescript)
* Code-splitting by routes (using latest syntax in Aurelia's router to designate chunk creation according to files under a route)
* Use of plain CSS (rather than SASS/LESS)
* Fully working in all evergreen browsers AND Internet Explorer 11, 10, and 9!Here's all you need to get started.
**Step 1)** Install [npm](http://blog.npmjs.org/post/85484771375/how-to-install-npm), and then install [Yarn](https://yarnpkg.com) on your command line:
`npm install -g yarn`
**Step 2)** Install the dependencies:
`yarn`
**Step 3)** Test it out in your browser (at http://localhost:8080):
`yarn run web`
**Step 4)** _(optional)_ Build an optimized version ready to upload to a web server:
`yarn run prod`
**Step 5)** Enjoy how easy that was!
Hope this helps someone else out there!
-Nathan
--------------------------------------------------------------------
Special thanks to:
jods4
nashwaan
- based originally on https://github.com/jods4/aurelia-webpack-build