Open Noah-mm-x opened 7 years ago
<script> export default { data () { return { msg: 'haha' } } } </script> This code is work
<script> export default { data () { return { msg: 'haha' } } } </script>
but the code <script> export default { data () { return { msg : 'haha' } } } </script> is not work
<script> export default { data () { return { msg : 'haha' } } } </script>
just add a space and not work anymore?
@mfx55 Did you check the linter? If the linter does not like something, it will not recompile.
<script> export default { data () { return { msg: 'haha' } } } </script>
This code is workbut the code
<script> export default { data () { return { msg : 'haha' } } } </script>
is not workjust add a space and not work anymore?