Skip to content

Commit

Permalink
fixup! Feat: Example NextJS app with pages router #DS-1393
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Aug 14, 2024
1 parent 0793558 commit 2e5982f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 650 deletions.
3 changes: 0 additions & 3 deletions examples/spirit-next-pages/.babelrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions examples/spirit-next-pages/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const pathDir = dirname(fileURLToPath(import.meta.url));
const nextConfig = {
transpilePackages: ['@lmc-eu/spirit-web-react'],
reactStrictMode: true,
webpack: (config) => {
return config;
},
sassOptions: {
fiber: false,
includePaths: [
Expand Down
2 changes: 0 additions & 2 deletions examples/spirit-next-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
},
"devDependencies": {
"@babel/preset-typescript": "^7.24.7",
"@csstools/normalize.css": "^12.0.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"babel-loader": "^9.1.3",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"sass": "^1.77.8",
"typescript": "^5"
},
"description": "This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).",
Expand Down
2 changes: 1 addition & 1 deletion examples/spirit-next-pages/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Heading } from '@lmc-eu/spirit-web-react/components';

const Home = () => {
return <Heading size="large">Spirit-pages-app</Heading>;
return <Heading size="large">Spirit Pages App</Heading>;
};

export default Home;
Loading

0 comments on commit 2e5982f

Please sign in to comment.