Working parcel setup
This commit is contained in:
committed by
richard-dds
parent
ccf4108665
commit
630a3b0cd5
4
static/js/index.js
Normal file
4
static/js/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import classes from '../scss/atat.scss'
|
||||
|
||||
import './thing'
|
||||
|
7
static/js/thing.js
Normal file
7
static/js/thing.js
Normal file
@@ -0,0 +1,7 @@
|
||||
console.log('hanlo again')
|
||||
window.onload = function() {
|
||||
console.log('boop')
|
||||
const thing = document.querySelector('#hello')
|
||||
thing.innerHTML = 'hanlo friendo'
|
||||
}
|
||||
|
Reference in New Issue
Block a user