Git Product home page Git Product logo

aurelia-starter's Introduction

Aurelia Starter

Based off of the official Aurelia Skeleton Navigation application. If you're like me, you base your Aurelia projects off of the Skeleton Navigation app because it comes with various Gulp tasks, JSPM is configured and it allows you to start building. But all of the dependencies and files you end up removing makes for lost productivity.

This starter takes the Gulp tasks, basic configuration and offers a main.js and app.js/app.html pair. You also get some basic app structure, RESTful API support for rolling your own auth and other basics not found in the starter.

Structure explained

This starter comes with a predefined structure for your app. It is not strict, just a guide if you are confused where to put everything. All folders and files reside in the src directory with exception of the assets folder which lives outside of src.

  • assets/fonts - Where you put your fonts, of course.
  • assets/images - Another self-explanatory folder
  • assets/styles - Where your CSS styles live. This folder can contain both Sass and standard CSS.
  • src/common - This is where common classes and files live. They are generally shared across your application, plugins, third party vendor scripts and app wide functionality.
  • src/components - Components can be custom elements, custom attributes or basic classes like base classes
  • src/routes - This is where your app files live matching routes defined in app.js the idea is the structure mimics the route structure and URL.
  • src/services - Services are singletons. They are shared state, so primarily used for storing client-side data like users or perhaps a shopping cart.

aurelia-starter's People

Contributors

vheissu avatar

Stargazers

Evangelista avatar Nathan Fiedler avatar DF avatar Dan Lourenço avatar Pawel Kasperek avatar Julian Bilcke avatar Alex Weber avatar

Watchers

William Hayes avatar  avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.