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
/* Large desktops and laptops */ | |
@media (min-width: 1200px) { | |
} | |
/* Landscape tablets and medium desktops */ | |
@media (min-width: 992px) and (max-width: 1199px) { | |
} |
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
open Fake.Core.TargetOperators | |
"Clean" ==> "Restore" ==> "Build" |
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
Target.create "Build" (fun _ -> | |
Trace.log "--- Building the app ---" | |
DotNet.build id (Path.Combine("src", "PaketDemo")) | |
) |
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
Target.create "Restore" (fun _ -> | |
Shell.Exec (Path.Combine(".paket", "paket.exe"), "restore", "") |> ignore | |
) |
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 appDirectory = Path.Combine("src", "PaketDemo") | |
let directoriesToClean () = | |
DirectoryInfo.getSubDirectories (DirectoryInfo.ofPath "./src/") | |
|> Array.collect (fun x -> [|Path.Combine(x.FullName, "bin"); Path.Combine(x.FullName, "obj")|]) | |
Target.create "Clean" (fun _ -> | |
Trace.log "--- Cleaning stuff ---" | |
Shell.cleanDirs (directoriesToClean()) | |
) |
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
#r @"packages/FAKE/tools/FakeLib.dll" |
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": { | |
"xoxo-create-react-app": "./index.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
"scripts": { | |
"start": "xoxo-react-scripts start", | |
"build": "xoxo-react-scripts build", | |
"test": "xoxo-react-scripts test --env=jsdom", | |
"eject": "xoxo-react-scripts eject" | |
} |
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 { AppContainer } from 'react-hot-loader' | |
import { render } from 'react-dom' | |
import App from './app' | |
const renderApp = (Root) => ( | |
render( | |
<AppContainer> | |
<Root /> | |
</AppContainer>, | |
document.getElementById('app-root') |
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
module.exports = { | |
getComponent(location, cb) { | |
require.ensure([], require => { | |
cb(null, require('./MyComponent.react.js').default) | |
}) | |
} | |
} |
NewerOlder