mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-12 10:25:16 +00:00
Update _error.html
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
<p>{error.message}</p>
|
||||
|
||||
{#if NODE_ENV === 'development'}
|
||||
<pre>
|
||||
{error.stack}
|
||||
</pre>
|
||||
<pre>{error.stack}</pre>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
@@ -36,10 +34,8 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
NODE_ENV: process.env.NODE_ENV
|
||||
};
|
||||
helpers {
|
||||
NODE_ENV: process.env.NODE_ENV
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user