Auto import components

This commit is contained in:
Liyas Thomas
2020-08-17 18:29:14 +05:30
parent e68ad7331f
commit e86a17980b
40 changed files with 45 additions and 227 deletions

View File

@@ -313,9 +313,6 @@ const updateOnLocalStorage = (propertyName, property) =>
window.localStorage.setItem(propertyName, JSON.stringify(property))
export default {
components: {
"pw-section": () => import("../layout/section"),
},
data() {
return {
history:

View File

@@ -271,13 +271,6 @@ import firebase from "firebase/app"
import { fb } from "~/helpers/fb"
export default {
components: {
modal: () => import("../ui/modal"),
login: () => import("../firebase/login"),
logout: () => import("../firebase/logout"),
contributors: () => import("./contributors"),
},
data() {
return {
// Once the PWA code is initialized, this holds a method

View File

@@ -307,10 +307,6 @@ nav.secondary-nav {
<script>
export default {
components: {
logo: () => import("./logo"),
},
methods: {
linkActive(path) {
return {