ceIia / lit-next-ssr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

installing/running

npm install && npm run dev
yarn install && yarn dev
pnpm i && pnpm dev

updating @lit-labs/nextjs

/* packages/labs/nextjs/src/index.ts */

webpack: (config, options) => {
  config.module.rules.unshift({
    // ...
    test: /\/(pages|app)\/.*\.(?:jsx?|tsx?)$/,
    // ...
  });
};

→ i suggest you clone & setup the lit repo, make the change, and use your package manager to link to it.

About


Languages

Language:TypeScript 92.4%Language:JavaScript 7.6%