forked from apxtri/apxtri
conf tailwindcss
This commit is contained in:
parent
4bf521681b
commit
e56e29e2b6
10
package.json
10
package.json
@ -19,7 +19,9 @@
|
||||
"apidoc": "apidoc -c ../../$tribe/apxtri/apidoc_$tribe.json -o ../../$tribe/objects/wwws/apidoc/",
|
||||
"publishtestwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/testwall-ants/tribes/$space/..",
|
||||
"publishwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/wall-ants/tribes/$space/..",
|
||||
"publishhouse": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@house-ants://home/phil/apxtowns/house-ants/tribes/$space/.."
|
||||
"publishhouse": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@house-ants://home/phil/apxtowns/house-ants/tribes/$space/..",
|
||||
"src:css": "tailwindcss --watch -c ../../$tribe/objects/wwws/$webapp/tailwind.config.js -i ../../$tribe/objects/wwws/$webapp/src/static/css/twdevstyle.css -o ../../$tribe/objects/wwws/$webapp/src/static/css/twstyle.css",
|
||||
"dist:css": "tailwindcss --minify -i ../../$tribe/objects/wwws/$webapp/src/static/css/twdevstyle.css -o ../../$tribe/objects/wwws/$webapp/dist/static/css/twstyle.css"
|
||||
},
|
||||
"commentscript": "cf wiki apxtri doc for details: yarn startpm2 -n teswallants, yarn pm2 stop testwallants, yarn pm2 delete testwallants, yarn pm2 logs --lines 200 testwall, yarn pm2 monit -n testwallants, yarn pm2 save tribe=tribeid yarn apidoc to build apidoc // space=adminapi/www/cdn/apidoc yarn publishtestwall ",
|
||||
"commentinstallprod": "A lancer en yarn 'version=1 yarn run tar2prod' pour generer un tar d'installation disponible en ligne sur towndns/cdn/share/apxtriV.tar pour install voir le readme qui run in apxtowns mkdir newtown && tar -xf appv1.tar -C newtown",
|
||||
@ -85,5 +87,11 @@
|
||||
"stripe": "^14.4.0",
|
||||
"uuid": "^9.0.0",
|
||||
"yarn": "^1.22.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"daisyui": "^4.12.10",
|
||||
"postcss-import": "^16.1.0",
|
||||
"tailwindcss": "^3.4.6"
|
||||
}
|
||||
}
|
||||
|
@ -27,9 +27,33 @@ router.post(
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* @api {put} /adminapi/wwws/updatelocalwcoanonymous - Get local web component for app anonymous only
|
||||
* @apiGroup Wwws
|
||||
* @apiName getappcontextforanonymous
|
||||
* @apiDescription Get web component from backend to localstorage for anonymous
|
||||
*
|
||||
* @apiBody {object} tribelistwco {tribe:[wconame]}
|
||||
*/
|
||||
router.put(
|
||||
"/updatelocalwcoanonymous",
|
||||
checkHeaders,
|
||||
(req, res) => {
|
||||
console.log("localstorage anonymous for web component", req.session.header.xalias);
|
||||
req.session.header.xprofils = ["anonymous"];
|
||||
console.log(req.session.header.xprofils);
|
||||
//ajouter une detection de changement
|
||||
const getlocal = Wwws.initlocalwco(
|
||||
req.body,
|
||||
req.session.header.xprofils,
|
||||
req.session.header.xlang
|
||||
);
|
||||
res.status(getlocal.status).json(getlocal);
|
||||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* @api {get} /adminapi/wwws/updatelocaldbanonymous/:tribe/:appname/:pagename/:version - Get app data model for anonymous only
|
||||
* @api {get} /adminapi/wwws/updatelocaldbanonymous/:tribe/:appname/:pagename/:version - Get localdb for app anonymous only
|
||||
* @apiGroup Wwws
|
||||
* @apiName getappcontextforanonymous
|
||||
* @apiDescription Get data base from backend to localstorage for anonymous (see Get app data model)
|
||||
@ -60,7 +84,7 @@ router.get(
|
||||
);
|
||||
|
||||
/**
|
||||
* @api {get} /adminapi/wwws/updatelocaldb/:tribe/:appname/:pagename/:version - Get app data model
|
||||
* @api {get} /adminapi/wwws/updatelocaldb/:tribe/:appname/:pagename/:version - Get localdb for app
|
||||
* @apiGroup Wwws
|
||||
* @apiName getappcontext
|
||||
* @apiDescription Get data base from backend to localstorage for authenticated user
|
||||
|
Loading…
x
Reference in New Issue
Block a user