mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 14:46:13 +00:00
create-nocobase-app: favicon (#91)
This commit is contained in:
parent
61a2a2c694
commit
58d89068af
@ -7,23 +7,22 @@ dotenv.config({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
favicon: '/favicon.png',
|
||||||
nodeModulesTransform: {
|
nodeModulesTransform: {
|
||||||
type: 'none',
|
type: 'none',
|
||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
'process.env.API_URL': process.env.API_URL || "http://127.0.0.1",
|
'process.env.API_URL': process.env.API_URL || 'http://127.0.0.1',
|
||||||
'process.env.API_PORT': process.env.API_PORT || "13001",
|
'process.env.API_PORT': process.env.API_PORT || '13001',
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
'target': `http://localhost:${process.env.API_PORT || "13001"}/`,
|
target: `http://localhost:${process.env.API_PORT || '13001'}/`,
|
||||||
'changeOrigin': true,
|
changeOrigin: true,
|
||||||
'pathRewrite': { '^/api': '/api' },
|
pathRewrite: { '^/api': '/api' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
routes: [
|
routes: [{ path: '/', exact: false, component: '@/pages/index' }],
|
||||||
{ path: '/', exact: false, component: '@/pages/index' },
|
|
||||||
],
|
|
||||||
fastRefresh: {},
|
fastRefresh: {},
|
||||||
locale: {
|
locale: {
|
||||||
default: 'zh-CN',
|
default: 'zh-CN',
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
Loading…
Reference in New Issue
Block a user