The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Basic JavaScript Module Import-Export

TODO: Pull subtitle into page object
File: /scripts/example_module.js
const alfa = () => {
  console.log('this is alfa')
}

export default alfa 

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Basic JavaScript Module Import-Export


-- code 
-- javascript
-- title: File: /scripts/example_module.js

const alfa = () => {
  console.log('this is alfa')
}

export default alfa 


-- html
-- type: showbelow

<script type="module">
  import { alfa } from "/scripts/example_module.js"
  alfa()
</script>


-- categories
-- JavaScript 

-- metadata
-- date: 2023-01-23 21:45:53
-- id: 2kkpii8q
-- status: draft
-- type: post
-- site: aws