Update _error.html

This commit is contained in:
Rich Harris
2018-09-23 22:03:29 -04:00
committed by GitHub
parent 20554f0d4b
commit b55bde445e

View File

@@ -7,9 +7,7 @@
<p>{error.message}</p> <p>{error.message}</p>
{#if NODE_ENV === 'development'} {#if NODE_ENV === 'development'}
<pre> <pre>{error.stack}</pre>
{error.stack}
</pre>
{/if} {/if}
<style> <style>
@@ -36,10 +34,8 @@
<script> <script>
export default { export default {
data() { helpers {
return { NODE_ENV: process.env.NODE_ENV
NODE_ENV: process.env.NODE_ENV
};
} }
}; };
</script> </script>