Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Commit fff116a

Browse files
committed
update AuthView from .js to .vue to work with pre-compile template
1 parent 2db8e37 commit fff116a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/amplify/AuthView.js renamed to src/amplify/AuthView.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
1111
* and limitations under the License.
1212
*/
13+
<template>
14+
<div :style="theme.container">
15+
<router-view></router-view>
16+
</div>
17+
</template>
1318

14-
import AmplifyTheme from './AmplifyTheme'
15-
16-
const AuthView = {
17-
template: `
18-
<div :style="theme.container">
19-
<router-view></router-view>
20-
</div>
21-
`,
22-
data: () => {
23-
return {
19+
<script>
20+
import { AmplifyTheme } from '../amplify'
21+
export default {
22+
name: 'AuthView',
23+
data () {
24+
return {
2425
theme: AmplifyTheme
26+
}
2527
}
2628
}
27-
}
28-
29-
export default AuthView
29+
</script>.

0 commit comments

Comments
 (0)