This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const DynamicCdnWebpackPlugin = require('dynamic-cdn-webpack-plugin'); | |
module.exports = { | |
entry: { | |
'app.js': './src/app.js' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="theme-color" content="#000000"> | |
<link rel="manifest" href="/manifest.json"> | |
<link rel="shortcut icon" href="/favicon.ico"> | |
<title>React App</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import MediaQuery from './media-query'; | |
class Example extends Component { | |
render() { | |
return ( | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Your app id which can be found in your config.xml file (widget id) | |
app=com.ionicframework.myNewApp | |
pathToAPK=platforms/android/build/outputs/apk/android-debug.apk | |
echo "Running Ionic Build" | |
ionic build |
NewerOlder