fix: added production build code
This commit is contained in:
parent
f95d17dca5
commit
c8597ebbba
6
.gitignore
vendored
6
.gitignore
vendored
@ -2,5 +2,9 @@
|
||||
*.pyc
|
||||
*.egg-info
|
||||
*.swp
|
||||
__pycache__
|
||||
tags
|
||||
node_modules
|
||||
node_modules
|
||||
crm/public/frontend
|
||||
crm/www/crm.html
|
||||
build
|
||||
@ -4,6 +4,10 @@ app_publisher = "Frappe Technologies Pvt. Ltd."
|
||||
app_description = "Kick-ass Open Source CRM"
|
||||
app_email = "shariq@frappe.io"
|
||||
app_license = "AGPLv3"
|
||||
app_icon_url = ""
|
||||
app_icon_title = "CRM"
|
||||
app_icon_route = "/crm"
|
||||
|
||||
# required_apps = []
|
||||
|
||||
# Includes in <head>
|
||||
@ -44,6 +48,10 @@ app_license = "AGPLv3"
|
||||
# "Role": "home_page"
|
||||
# }
|
||||
|
||||
website_route_rules = [
|
||||
{"from_route": "/crm/<path:app_path>", "to_route": "crm"},
|
||||
]
|
||||
|
||||
# Generators
|
||||
# ----------
|
||||
|
||||
|
||||
@ -4,12 +4,13 @@
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
"build": "vite build --base=/assets/crm/frontend/ && yarn copy-html-entry",
|
||||
"copy-html-entry": "cp ../crm/public/frontend/index.html ../crm/www/crm.html",
|
||||
"serve": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"feather-icons": "^4.28.0",
|
||||
"frappe-ui": "^0.1.0-alpha.9",
|
||||
"frappe-ui": "^0.1.0-alpha.11",
|
||||
"vue": "^3.3.4",
|
||||
"vue-router": "^4.2.2",
|
||||
"pinia": "^2.0.33"
|
||||
|
||||
9
package.json
Normal file
9
package.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"workspaces": ["frappe-ui", "frontend"],
|
||||
"scripts": {
|
||||
"postinstall": "cd frontend && yarn install",
|
||||
"dev": "cd frontend && yarn dev",
|
||||
"build": "cd frontend && yarn build"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user