{"id":22683103,"url":"https://github.com/mistereo/next-linaria","last_synced_at":"2025-04-10T05:00:24.843Z","repository":{"id":40333174,"uuid":"288208179","full_name":"Mistereo/next-linaria","owner":"Mistereo","description":"Linaria support for Next.js","archived":false,"fork":false,"pushed_at":"2022-08-28T03:33:29.000Z","size":13,"stargazers_count":95,"open_issues_count":14,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T01:11:26.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mistereo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-17T14:53:06.000Z","updated_at":"2024-11-22T09:34:20.000Z","dependencies_parsed_at":"2022-07-24T19:02:10.583Z","dependency_job_id":null,"html_url":"https://github.com/Mistereo/next-linaria","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mistereo%2Fnext-linaria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mistereo%2Fnext-linaria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mistereo%2Fnext-linaria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mistereo%2Fnext-linaria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mistereo","download_url":"https://codeload.github.com/Mistereo/next-linaria/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161267,"owners_count":21057554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T21:10:08.858Z","updated_at":"2025-04-10T05:00:24.702Z","avatar_url":"https://github.com/Mistereo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js + Linaria\n\nAdds [Linaria](https://github.com/callstack/linaria) to [built-in CSS support](https://nextjs.org/docs/basic-features/built-in-css-support) in Next.js.\n\n\u003e The version `1.0.0` and above only works with linaria@3. If you need support for linaria@2, please use version `0.11.0` of this package.\n\n\u003e The version `0.11.0` of this package requires next@9.5.4 or above.\n\n\u003e For next@9.2.0-9.5.3 use version `0.10.0` of this package.\n\nThis module is intended to be used with Next.js built-in CSS support (https://nextjs.org/docs/basic-features/built-in-css-support) and probably will not work with custom CSS handling.\n\n## Installation\n\n```\nnpm install --save next-linaria linaria\n```\n\nor\n\n```\nyarn add next-linaria linaria\n```\n\n## Usage\n\nCreate a `next.config.js` in your project\n\n```js\n// next.config.js\nconst withLinaria = require('next-linaria');\nmodule.exports = withLinaria({\n  /* config options here */\n});\n```\n\n### Linaria options\n\n```js\n// next.config.js\nconst withLinaria = require('next-linaria');\nmodule.exports = withLinaria({\n  linaria: {\n    /* linaria options here */\n  },\n});\n```\n\n### Configuring Next.js\n\nOptionally you can add your custom Next.js configuration as parameter\n\n```js\n// next.config.js\nconst withLinaria = require('next-linaria');\nmodule.exports = withLinaria({\n  webpack(config, options) {\n    return config;\n  },\n});\n```\n\n## License\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistereo%2Fnext-linaria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmistereo%2Fnext-linaria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistereo%2Fnext-linaria/lists"}