Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ const ownModules = path.resolve(__dirname, '../node_modules')

let paths = {
appRoot,
entry: path.resolve('./src/index.js'),
entry: path.resolve('./public/js/index.js'),
dist: path.resolve('./dist'),
template: path.resolve('./src/index.html'),
favicon: path.resolve('./src/favicon.ico'),
template: path.resolve('./public/index.html'),
favicon: path.resolve('./public/favicon.ico'),
elmPkg: path.resolve('elm-package.json'),
scripts: path.resolve(__dirname, '../scripts'),
elmMake: path.resolve(__dirname, '../node_modules/.bin/elm-make'),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions template/public/js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import '../css/main.css'

const logoPath = require('../media/logo.svg')
const Elm = require('../../src/App.elm')

const root = document.getElementById('root')

Elm.App.embed(root, logoPath)
File renamed without changes
7 changes: 0 additions & 7 deletions template/src/index.js

This file was deleted.