Running npm run build creates a dist folder with files that can be used in generic html pages. Had to add style sections to the *.vue files like:
<style scoped lang='scss'>
@use 'alert';
</style>
Generally, this would replace the import './alert.scss'; line in the script tag.
On a generic index.html created with vi, I can import the built js and add and tags that behave as expected, or close enough.
The downside is that this ends up creating a monolithic 200k js file and it looks like the css in it may not be quite right. Haven't had a chance to look at Ben's fix yet, but that should take care of it.
Running
npm run build
creates a dist folder with files that can be used in generic html pages. Had to add style sections to the *.vue files like:Generally, this would replace the import './alert.scss'; line in the script tag.
On a generic index.html created with vi, I can import the built js and add and tags that behave as expected, or close enough.
The downside is that this ends up creating a monolithic 200k js file and it looks like the css in it may not be quite right. Haven't had a chance to look at Ben's fix yet, but that should take care of it.