Created with ionic 2.0.0-rc.0.
Latest release
npm install -g ionic
Started using sidemenu template
ionic start my-side-menu sidemenu --v2
Create this file in app folder.
import {
FirebaseAppConfig
} from 'angularfire2';
export class MyFirebaseAppConfig {
static config: FirebaseAppConfig = {
apiKey: 'xxxxx',
authDomain: 'xxxxx',
databaseURL: 'xxxxx',
storageBucket: 'xxxxxx''
};
}
Google Chrome shortcut Target (Windows)
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
launch.json
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}/www",
"url":"http://localhost:8100/"
}
tsconfig.json
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"es2015"
],
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5"
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}