# Single File Component structure
Date: 2018-02*28
# Scope
Single File Components
# Status
Accepted
# Context
vue single file components typically have template section before script and styles. We propose a new ordering.
# Decision
Fran proposes we move script above template since after the template is created, most of the heavy lifting happens in script. Also, it makes sense to keep template closer to styles (without a big script block between them).
like this:
<script>
</script>
<template>
<template>
<style>
</style>
# Consequences
need to restructure existing files.