GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KillerCodeMonkey/ionic-starter-requirejs: A starter template for ionic with requirejs

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
css
css
 
 
img
img
 
 
lib
lib
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
main.js
main.js
 
 

Repository files navigation

ionic-starter-requirejs

This is an addon starter template with RequireJS for the Ionic Framework.

ionic-starter-requirejs

How to use this template

To use this, either create a new ionic project using the ionic node.js utility, or copy and paste this into an existing Cordova project.

Explanation

With RequireJS you can simply split your projects js-files in as many parts you want.

special files:

  • main.js --> RequireJS config
  • app/boot.js --> manual bootstrap of the app
  • app/app.js --> Definition of the app/module
  • app/routes.js --> Definition of states
  • app/config.js --> additional config-blocks (e.g. configure your ionic here)
  • app/run.js --> run-blocks

But you can structure your app as you want --> no need to split everything in separated files.

Additionally you can use the packaging tool almond to build own releases (uglified, minified and packaged in one file).

For a simple way to use you can install grund-cli and use grunt-contrib-requirejs

Bitdeli Badge

About

A starter template for ionic with requirejs

Resources

Readme
MIT license
Activity

Stars

20 stars

Watchers

3 watching

Forks

8 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.