Skip to content

Commit

Permalink
Add extensions to imports of Vue files, since they are mandatory now
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Feb 5, 2021
1 parent 6cf390b commit c8db4ac
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 57 deletions.
12 changes: 6 additions & 6 deletions app/javascript/Layouts/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@
</template>

<script>
import MinimalLayout from '@/Layouts/Minimal'
import Dropdown from '@/Shared/Dropdown'
import FlashMessages from '@/Shared/FlashMessages'
import Icon from '@/Shared/Icon'
import Logo from '@/Shared/Logo'
import MainMenu from '@/Shared/MainMenu'
import MinimalLayout from '@/Layouts/Minimal.vue'
import Dropdown from '@/Shared/Dropdown.vue'
import FlashMessages from '@/Shared/FlashMessages.vue'
import Icon from '@/Shared/Icon.vue'
import Logo from '@/Shared/Logo.vue'
import MainMenu from '@/Shared/MainMenu.vue'
export default {
components: {
Expand Down
10 changes: 5 additions & 5 deletions app/javascript/Pages/Auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
</template>

<script>
import Layout from '@/Layouts/Minimal'
import FlashMessages from '@/Shared/FlashMessages'
import LoadingButton from '@/Shared/LoadingButton'
import Logo from '@/Shared/Logo'
import TextInput from '@/Shared/TextInput'
import Layout from '@/Layouts/Minimal.vue'
import FlashMessages from '@/Shared/FlashMessages.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import Logo from '@/Shared/Logo.vue'
import TextInput from '@/Shared/TextInput.vue'
export default {
metaInfo: { title: 'Login' },
Expand Down
8 changes: 4 additions & 4 deletions app/javascript/Pages/Contacts/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import LoadingButton from '@/Shared/LoadingButton'
import ContactForm from './Form'
import TrashedMessage from '@/Shared/TrashedMessage'
import Layout from '@/Layouts/Main.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import ContactForm from './Form.vue'
import TrashedMessage from '@/Shared/TrashedMessage.vue'
import _ from 'lodash'
export default {
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/Pages/Contacts/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
</template>

<script>
import SelectInput from '@/Shared/SelectInput'
import TextInput from '@/Shared/TextInput'
import SelectInput from '@/Shared/SelectInput.vue'
import TextInput from '@/Shared/TextInput.vue'
export default {
components: {
Expand Down
8 changes: 4 additions & 4 deletions app/javascript/Pages/Contacts/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Layout from '@/Layouts/Main'
import Icon from '@/Shared/Icon.vue'
import Layout from '@/Layouts/Main.vue'
import mapValues from 'lodash/mapValues'
import Pagination from '@/Shared/Pagination'
import Pagination from '@/Shared/Pagination.vue'
import pickBy from 'lodash/pickBy'
import SearchFilter from '@/Shared/SearchFilter'
import SearchFilter from '@/Shared/SearchFilter.vue'
import throttle from 'lodash/throttle'
export default {
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/Pages/Contacts/New.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import LoadingButton from '@/Shared/LoadingButton'
import ContactForm from './Form'
import Layout from '@/Layouts/Main.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import ContactForm from './Form.vue'
export default {
metaInfo: { title: 'Create Contact' },
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/Pages/Dashboard/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import Layout from '@/Layouts/Main.vue'
import * as timeago from 'timeago.js'
export default {
Expand Down
10 changes: 5 additions & 5 deletions app/javascript/Pages/Organizations/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Layout from '@/Layouts/Main'
import LoadingButton from '@/Shared/LoadingButton'
import OrganizationForm from './Form'
import TrashedMessage from '@/Shared/TrashedMessage'
import Icon from '@/Shared/Icon.vue'
import Layout from '@/Layouts/Main.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import OrganizationForm from './Form.vue'
import TrashedMessage from '@/Shared/TrashedMessage.vue'
import _ from 'lodash'
export default {
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/Pages/Organizations/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
</template>

<script>
import SelectInput from '@/Shared/SelectInput'
import TextInput from '@/Shared/TextInput'
import SelectInput from '@/Shared/SelectInput.vue'
import TextInput from '@/Shared/TextInput.vue'
export default {
components: {
Expand Down
12 changes: 6 additions & 6 deletions app/javascript/Pages/Organizations/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Layout from '@/Layouts/Main'
import Icon from '@/Shared/Icon.vue'
import Layout from '@/Layouts/Main.vue'
import mapValues from 'lodash/mapValues'
import Pagination from '@/Shared/Pagination'
import Pagination from '@/Shared/Pagination.vue'
import pickBy from 'lodash/pickBy'
import SearchFilter from '@/Shared/SearchFilter'
import Modal from '@/Shared/Modal'
import NewOrganization from '@/Pages/Organizations/_New'
import SearchFilter from '@/Shared/SearchFilter.vue'
import Modal from '@/Shared/Modal.vue'
import NewOrganization from '@/Pages/Organizations/_New.vue'
import throttle from 'lodash/throttle'
export default {
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/Pages/Organizations/_New.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</template>

<script>
import LoadingButton from '@/Shared/LoadingButton'
import OrganizationForm from './Form'
import LoadingButton from '@/Shared/LoadingButton.vue'
import OrganizationForm from './Form.vue'
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/Pages/Reports/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import Layout from '@/Layouts/Main.vue'
export default {
metaInfo: { title: 'Reports' },
Expand Down
8 changes: 4 additions & 4 deletions app/javascript/Pages/Users/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import LoadingButton from '@/Shared/LoadingButton'
import UserForm from './Form'
import TrashedMessage from '@/Shared/TrashedMessage'
import Layout from '@/Layouts/Main.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import UserForm from './Form.vue'
import TrashedMessage from '@/Shared/TrashedMessage.vue'
export default {
metaInfo() {
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/Pages/Users/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
</template>

<script>
import SelectInput from '@/Shared/SelectInput'
import TextInput from '@/Shared/TextInput'
import FileInput from '@/Shared/FileInput'
import SelectInput from '@/Shared/SelectInput.vue'
import TextInput from '@/Shared/TextInput.vue'
import FileInput from '@/Shared/FileInput.vue'
export default {
components: {
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/Pages/Users/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Layout from '@/Layouts/Main'
import Icon from '@/Shared/Icon.vue'
import Layout from '@/Layouts/Main.vue'
import mapValues from 'lodash/mapValues'
import pickBy from 'lodash/pickBy'
import SearchFilter from '@/Shared/SearchFilter'
import SearchFilter from '@/Shared/SearchFilter.vue'
import throttle from 'lodash/throttle'
export default {
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/Pages/Users/New.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
</template>

<script>
import Layout from '@/Layouts/Main'
import LoadingButton from '@/Shared/LoadingButton'
import UserForm from './Form'
import Layout from '@/Layouts/Main.vue'
import LoadingButton from '@/Shared/LoadingButton.vue'
import UserForm from './Form.vue'
export default {
metaInfo: { title: 'Create User' },
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/Shared/MainMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Icon from '@/Shared/Icon.vue'
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/Shared/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</template>

<script>
import Dropdown from '@/Shared/Dropdown'
import Dropdown from '@/Shared/Dropdown.vue'
export default {
components: {
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/Shared/TrashedMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</template>

<script>
import Icon from '@/Shared/Icon'
import Icon from '@/Shared/Icon.vue'
export default {
components: {
Expand Down

0 comments on commit c8db4ac

Please sign in to comment.