Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Commit

Permalink
feat: add init
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcodes committed Sep 19, 2020
1 parent 75491e4 commit bccd4ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions app/javascript/init/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./index.pcss";
5 changes: 5 additions & 0 deletions app/javascript/init/index.pcss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
}
5 changes: 1 addition & 4 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@
//
// const images = require.context('../images', true)
// const imagePath = (name) => images(name, true)

import "./application.pcss";

document.body.insertAdjacentHTML("afterbegin", "Webpacker works!");
import "init";
4 changes: 0 additions & 4 deletions app/javascript/packs/application.pcss

This file was deleted.

0 comments on commit bccd4ba

Please sign in to comment.