Moved public to docs for github publishing
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
+1
-1
@@ -16,7 +16,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack",
|
||||
"dev": "webpack-dev-server --content-base public"
|
||||
"dev": "webpack-dev-server --content-base docs"
|
||||
},
|
||||
"dependencies": {
|
||||
"js-base64": "^2.5.1",
|
||||
|
||||
@@ -63,6 +63,36 @@ onMount(async () => {
|
||||
<div id="col1">
|
||||
<Card title="Code" noPadding="true"><Editor data={params.data}/></Card>
|
||||
<Card title="Mermaid Configuration" ><Config /></Card>
|
||||
<Card title='Links'>
|
||||
<ul className='marketing-links'>
|
||||
<li>
|
||||
<a href='https://mermaid-js.github.io/mermaid' target='_blank'>
|
||||
Mermaid Documentation
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='https://github.com/mermaid-js/mermaid' target='_blank'>
|
||||
Mermaid on GitHub
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href='https://github.com/mermaid-js/mermaid-live-editor'
|
||||
target='_blank'
|
||||
>
|
||||
Live Editor on GitHub
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href='https://github.com/mermaid-js/mermaid.cli'
|
||||
target='_blank'
|
||||
>
|
||||
Mermaid CLI
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</Card>
|
||||
</div>
|
||||
<div id="col2">
|
||||
<Card title="Preview"><View /></Card>
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ module.exports = {
|
||||
mainFields: ['svelte', 'browser', 'module', 'main']
|
||||
},
|
||||
output: {
|
||||
path: __dirname + '/public',
|
||||
path: __dirname + '/docs',
|
||||
filename: '[name].js',
|
||||
chunkFilename: '[name].[id].js'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user