1
0
forked from test/crm

fix: added production build code

This commit is contained in:
Shariq Ansari 2023-08-01 16:11:13 +05:30
parent f95d17dca5
commit c8597ebbba
5 changed files with 1743 additions and 4 deletions

6
.gitignore vendored
View File

@ -2,5 +2,9 @@
*.pyc
*.egg-info
*.swp
__pycache__
tags
node_modules
node_modules
crm/public/frontend
crm/www/crm.html
build

View File

@ -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
# ----------

View File

@ -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
View 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"
}
}

1717
yarn.lock Normal file

File diff suppressed because it is too large Load Diff