This file contains hidden or 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
| console.log('Hello, World !'); |
This file contains hidden or 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
| var path = require('path'); | |
| var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| var HtmlWebpackPluginConfig = new HtmlWebpackPlugin({ | |
| template: path.resolve(__dirname, 'src/index.html') | |
| }); | |
| module.exports = { | |
| entry: path.resolve(__dirname, 'src/index.js'), | |
| output: { |
This file contains hidden or 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
| body{ | |
| background: crimson; | |
| color: white; | |
| } |
This file contains hidden or 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 } from 'react'; | |
| import { render } from 'react-dom'; | |
| import './style.css'; | |
| const App = () => { | |
| return ( | |
| <div> | |
| <h1>Hello, World !</h1> | |
| </div> | |
| ) |
This file contains hidden or 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
| body{ | |
| background: crimson; | |
| h1{ | |
| color: white; | |
| } | |
| } |
This file contains hidden or 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 } from 'react'; | |
| import { render } from 'react-dom'; | |
| import './style.scss'; | |
| const App = () => { | |
| return ( | |
| <div> | |
| <h1>Hello, World !</h1> | |
| </div> | |
| ) |
This file contains hidden or 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
| var path = require('path'); | |
| var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| var HtmlWebpackPluginConfig = new HtmlWebpackPlugin({ | |
| template: path.resolve(__dirname, 'src/index.html') | |
| }); | |
| module.exports = { | |
| entry: path.resolve(__dirname, 'src/index.js'), | |
| output: { |
This file contains hidden or 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
| var path = require('path'); | |
| var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| var HtmlWebpackPluginConfig = new HtmlWebpackPlugin({ | |
| template: path.resolve(__dirname, 'src/index.html') | |
| }); | |
| module.exports = { | |
| entry: path.resolve(__dirname, 'src/index.js'), | |
| output: { |
This file contains hidden or 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 } from 'react'; | |
| import { render } from 'react-dom'; | |
| import './style.scss'; | |
| import img from './image.jpg'; | |
| const App = () => { | |
| return ( | |
| <div> | |
| <h1>Hello, World !</h1> | |
| <img src={img} alt="image" /> |
This file contains hidden or 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
| var gulp = require('gulp'); | |
| gulp.task('hello', function() { | |
| console.log('Hello World !'); | |
| }); |
OlderNewer