12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- export default {
- // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
- ssr: false,
- // Target: https://go.nuxtjs.dev/config-target
- target: 'static',
- // Global page headers: https://go.nuxtjs.dev/config-head
- head: {
- title: 'TimeCalculator',
- htmlAttrs: {
- lang: 'zh-CN'
- },
- 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/style.css',
- 'element-ui/lib/theme-chalk/index.css',
- 'element-ui/lib/theme-chalk/display.css'
- ],
- // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
- plugins: [
- '@/plugins/element-ui'
- ],
- // Auto import components: https://go.nuxtjs.dev/config-components
- components: true,
- // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
- buildModules: [
- ],
- // Modules: https://go.nuxtjs.dev/config-modules
- modules: [
- ],
- // Build Configuration: https://go.nuxtjs.dev/config-build
- build: {
- transpile: [/^element-ui/],
- }
- }
|