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
chain: | |
bech32_prefix: juno | |
modules: | |
- wasm | |
node: | |
type: remote | |
config: | |
rpc: | |
client_name: juno | |
address: http://localhost:26657 |
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 'package:flutter/material.dart'; | |
import 'dart:async'; | |
void main() { | |
runApp(new MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override |
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 'package:flutter/material.dart'; | |
import 'dart:async'; | |
void main() { | |
runApp(new MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override |
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 path from 'path'; | |
import util from 'util'; | |
import HtmlWebpackPlugin from 'html-webpack-plugin'; | |
import webpack from 'webpack'; | |
// The full paths to our various directories | |
const PATHS = {}; | |
['lib', 'build'].forEach((pathName) => { | |
PATHS[pathName] = path.join(__dirname, pathName); | |
}); |
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
let reactRoot = document.getElementById('app-root'); | |
const loadStart = new Date(); | |
import('./core_module').then(function(core_module) { | |
const coreDate = new Date(); | |
const coreMS = coreDate.getTime() - loadStart.getTime(); | |
const header = document.getElementById('message-header'); | |
header.textContent = `CORE LOADED (${coreMS})`; | |
const {ReactDOM, React} = core_module; | |
ReactDOM.render(<h2>RenderedByReact</h2>, reactRoot); |
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
exports.extractCSS = function(paths) { | |
return { | |
module: { | |
rules: [ | |
// Extract CSS during build | |
{ | |
test: /\.css$/, | |
include: paths, | |
loader: ExtractTextPlugin.extract({ | |
fallbackLoader: 'style-loader', |
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
exports.extractCSS = function(paths) { | |
return { | |
module: { | |
rules: [ | |
// Extract CSS during build | |
{ | |
test: /\.css$/, | |
include: paths, | |
loader: ExtractTextPlugin.extract({ | |
fallbackLoader: 'style-loader', |
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 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
new MaterialApp( | |
title: 'Flutter Demo', | |
theme: new ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
home: new FlutterDemo(), |
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 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
new MaterialApp( | |
title: 'Flutter Demo', | |
theme: new ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
home: new FlutterDemo(), |