123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /*
- * @Description:
- * @Author: 欧阳承珺
- * @LastEditors: 欧阳承珺
- * @Date: 2022-10-17 11:06:52
- * @LastEditTime: 2022-10-19 17:14:06
- */
- export default {
- // Global page headers: https://go.nuxtjs.dev/config-head
- head: {
- title: '17PDF',
- htmlAttrs: {
- lang: 'en',
- },
- meta: [
- { charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
- { hid: 'description', name: 'description', content: '' },
- { name: 'format-detection', content: 'telephone=no' },
- ],
- link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
- },
- // Global CSS: https://go.nuxtjs.dev/config-css
- css: [
- '@/assets/main.scss'
- ],
- // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
- plugins: [
- '~/plugins/api'
- ],
- // Auto import components: https://go.nuxtjs.dev/config-components
- components: true,
- // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
- buildModules: [
- // https://go.nuxtjs.dev/typescript
- '@nuxt/typescript-build',
- // https://windicss.org/guide/
- 'nuxt-windicss',
- '@nuxtjs/composition-api/module'
- ],
- // Modules: https://go.nuxtjs.dev/config-modules
- modules: [
- '@nuxtjs/axios',
- '@nuxtjs/proxy'
- ],
- axios: {
- timeout: 3000,
- prefix: '/api/',
- proxy: true
- },
- proxy: {
- '/api': { target: 'https://17pdf.com'}
- },
- // Build Configuration: https://go.nuxtjs.dev/config-build
- build: {},
- }
|