1 Star 0 Fork 0

Hudosn/tiktok

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nuxt.config.js 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Hudosn 提交于 2023-08-29 20:36 . first commit
export default {
// Global page headers: https://go.nuxtjs.dev/config-head
watchQuery: true,
head: {
title: 'nuxt',
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'},
{name: "referrer", content: "never"}
],
link: [
{rel: 'icon', type: 'image/x-icon', href: '/favicon.ico'}
],
script: [
{
src: '/js/iconfont.js'
}
]
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: ['~/assets/css/main.css'],
target: 'static',
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
'@/plugins/axios',
'@/plugins/throttle',
'@/plugins/scroller',
{src: '@/plugins/persistedstate', ssr: false},
],
axios: {
baseURL: 'http://localhost:8000'
},
// proxy: {
// "/api": {
// // 配置接口地址
// target: "http://localhost:8000/",
// pathRewrite: {
// "^/api": "/"
// },
// changeOrigin: true
// }
// },
// 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: [
'@nuxtjs/axios',
"@nuxtjs/proxy"
],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hudosn/tiktok.git
git@gitee.com:hudosn/tiktok.git
hudosn
tiktok
tiktok
master

搜索帮助