|
|
4 년 전 | |
|---|---|---|
| assets | 4 년 전 | |
| components | 4 년 전 | |
| enums | 4 년 전 | |
| lang | 4 년 전 | |
| layouts | 4 년 전 | |
| pages | 4 년 전 | |
| plugins | 4 년 전 | |
| services | 4 년 전 | |
| static | 4 년 전 | |
| store | 4 년 전 | |
| test | 4 년 전 | |
| types | 4 년 전 | |
| .babelrc | 4 년 전 | |
| .editorconfig | 4 년 전 | |
| .env.ci | 4 년 전 | |
| .env.local | 4 년 전 | |
| .env.preprod | 4 년 전 | |
| .env.prod | 4 년 전 | |
| .eslintrc.js | 4 년 전 | |
| .gitignore | 4 년 전 | |
| .gitlab-ci.yml | 4 년 전 | |
| README.md | 4 년 전 | |
| cypress.json | 4 년 전 | |
| ecosystem.config.js | 4 년 전 | |
| jest.config.js | 4 년 전 | |
| logo.png | 4 년 전 | |
| nuxt.config.js | 4 년 전 | |
| package-lock.json | 4 년 전 | |
| package.json | 4 년 전 | |
| todo.md | 4 년 전 | |
| tsconfig.json | 4 년 전 | |
| yarn.lock | 4 년 전 |
Frames est une application Nuxt proposant des iframes à inclure sur des sites tierces.
Iframes implémentées:
A voir:
Si le fichier .env n'existe pas, on créé un symlink vers le .env.xxx voulu sous le nom de .env (selon l'environnement)
ln -s .env.xxx .env
Le projet frames n'utilisant pas le SSR, on n'a pas besoin de PM2 pour faire tourner un service. On lance la commande:
yarn deploy
Cette commande est un alias qui équivaut à lancer les commandes suivantes:
git pull && yarn install && yarn build
S'il n'existe pas encore, il faut aussi créer un fichier dist/.htaccess contenant les lignes suivantes:
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html [QSA,L]
</ifModule>
To run unit tests:
yarn test
To run end-to-end tests with Cypress:
yarn cypress
To run it in command line:
yarn cypress:run