exports.ids = [17];
exports.modules = {

/***/ 351:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/VCard.js
var VCard = __webpack_require__(88);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var components_VCard = __webpack_require__(14);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VContainer.js + 1 modules
var VContainer = __webpack_require__(230);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/vue-loader/lib??vue-loader-options!./pages/p/_slug.vue?vue&type=template&id=4c84ff35





var _slugvue_type_template_id_4c84ff35_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], [_c(VCard["a" /* default */], [_c(components_VCard["d" /* VCardTitle */], {
    staticClass: "text-h4 font-weight-bold"
  }, [_vm._v(_vm._s(_vm.page.title))]), _vm._v(" "), _c(components_VCard["c" /* VCardText */], {
    domProps: {
      "innerHTML": _vm._s(_vm.page.content)
    }
  })], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./pages/p/_slug.vue?vue&type=template&id=4c84ff35

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__(9);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./pages/p/_slug.vue?vue&type=script&lang=js

/* harmony default export */ var _slugvue_type_script_lang_js = ({
  name: 'Page',
  async asyncData({
    params,
    error,
    $axios
  }) {
    try {
      const page = await $axios.$get(`/pages/${params.slug}`);
      if (!page) {
        error({
          statusCode: 404,
          message: 'Page not found'
        });
      }
      return {
        page
      };
    } catch (e) {
      console.error(e);
      error({
        statusCode: 404,
        message: 'Page not found'
      });
    }
  },
  data() {
    return {
      page: {
        title: ''
      }
    };
  },
  head() {
    if (!this.page) {
      return {};
    }
    return {
      htmlAttrs: {
        lang: this.settings.instance_locale
      },
      title: `${this.settings.title} - ${this.page.title}`
    };
  },
  computed: Object(external_vuex_["mapState"])(['settings'])
});
// CONCATENATED MODULE: ./pages/p/_slug.vue?vue&type=script&lang=js
 /* harmony default export */ var p_slugvue_type_script_lang_js = (_slugvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./pages/p/_slug.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  p_slugvue_type_script_lang_js,
  _slugvue_type_template_id_4c84ff35_render,
  staticRenderFns,
  false,
  null,
  null,
  "a61d8492"
  
)

/* harmony default export */ var _slug = __webpack_exports__["default"] = (component.exports);

/***/ })

};;
//# sourceMappingURL=_slug.js.map