parent
2009608698
commit
c8ba3ff733
@ -1,4 +0,0 @@
|
||||
STRAPI_URL_API=http://127.0.0.1:1337/api
|
||||
STRAPI_URL=http://127.0.0.1:1337/
|
||||
NEXTAUTH_SECRET=<SECRET>
|
||||
NEXTAUTH_URL=http://localhost:4200
|
||||
@ -1,4 +0,0 @@
|
||||
STRAPI_URL_API=http://127.0.0.1:1337/api
|
||||
STRAPI_URL=http://127.0.0.1:1337/
|
||||
NEXTAUTH_SECRET=<SECRET>
|
||||
NEXTAUTH_URL=http://localhost:4200
|
||||
@ -1,4 +0,0 @@
|
||||
STRAPI_URL_API=http://127.0.0.1:1337/api
|
||||
STRAPI_URL=http://127.0.0.1:1337/
|
||||
NEXTAUTH_SECRET=<SECRET>
|
||||
NEXTAUTH_URL=http://localhost:4200
|
||||
@ -0,0 +1,5 @@
|
||||
export const environment = {
|
||||
strapiUrl: 'http://127.0.0.1:1337/',
|
||||
strapiApiUrl: 'http://127.0.0.1:1337/api',
|
||||
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
export const environment = {
|
||||
strapiUrl: 'http://admin.mecp.nasercloud.fr/',
|
||||
strapiApiUrl: 'http://admin.mecp.nasercloud.fr/api',
|
||||
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
export const environment = {
|
||||
strapiUrl: 'http://admin.mecp.nasercloud.fr/',
|
||||
strapiApiUrl: 'http://admin.mecp.nasercloud.fr/api',
|
||||
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
export const environment = {
|
||||
strapiUrl: 'http://127.0.0.1:1337/',
|
||||
strapiApiUrl: 'http://127.0.0.1:1337/api',
|
||||
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP"
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
import {Head, Html, Main, NextScript} from 'next/document';
|
||||
|
||||
export default function Document() {
|
||||
return (
|
||||
<Html lang='en'>
|
||||
<Head/>
|
||||
<body>
|
||||
<Main/>
|
||||
<NextScript/>
|
||||
</body>
|
||||
</Html>
|
||||
)
|
||||
};
|
||||
@ -1,2 +1,6 @@
|
||||
@import 'tailwindcss/base.css';
|
||||
@import 'tailwindcss/components.css';
|
||||
@import 'tailwindcss/utilities.css';
|
||||
|
||||
.page {
|
||||
}
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
const {join} = require('path');
|
||||
|
||||
// Note: If you use library-specific PostCSS/Tailwind configuration then you should remove the `postcssConfig` build
|
||||
// option from your application's configuration (i.e. project.json).
|
||||
//
|
||||
// See: https://nx.dev/guides/using-tailwind-css-in-react#step-4:-applying-configuration-to-libraries
|
||||
|
||||
module.exports = {
|
||||
plugins: {
|
||||
'postcss-import': {},
|
||||
'tailwindcss/nesting': {},
|
||||
tailwindcss: {
|
||||
config: join(__dirname, 'tailwind.config.js'),
|
||||
},
|
||||
autoprefixer: {},
|
||||
},
|
||||
};
|
||||
@ -0,0 +1,18 @@
|
||||
const {createGlobPatternsForDependencies} = require('@nrwl/react/tailwind');
|
||||
const {join} = require('path');
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
join(
|
||||
__dirname,
|
||||
'{src,pages,components}/**/*!(*.stories|*.spec).{ts,tsx,html}'
|
||||
),
|
||||
...createGlobPatternsForDependencies(__dirname),
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
darkMode: 'class'
|
||||
};
|
||||
@ -0,0 +1,5 @@
|
||||
const fs = require('fs');
|
||||
const fse = require('fs-extra');
|
||||
const path = require('path');
|
||||
|
||||
fs.copyFileSync(path.join(__dirname, 'sources/server.js'), path.join(__dirname, '..', '..', 'dist/apps/website/server.js'));
|
||||
Loading…
Reference in new issue