Luxe Web Framework
raw JSON → 1.7.50 verified Fri May 01 auth: no javascript
Luxe Web Framework is a React-based UI component library (v1.7.50) providing reusable components with TypeScript support. It requires React 16+ and peer dependencies like react-dom. The library is distributed as both ESM and CJS, but CSS must be imported separately. It is actively maintained with weekly releases. Key differentiators: lightweight, minimal dependencies, and focus on modern React patterns.
Common errors
error Cannot find module 'luxe-web-framework' or its corresponding type declarations. ↓
cause Missing package install or incorrect import path.
fix
Run npm install luxe-web-framework and ensure import path is correct.
error Module not found: Can't resolve 'luxe-web-framework/dist/index.css' ↓
cause CSS file not copied or path incorrect.
fix
Verify the CSS file exists at node_modules/luxe-web-framework/dist/index.css or adjust the import path.
Warnings
gotcha CSS must be imported separately; not included in JS bundle. ↓
fix Add import 'luxe-web-framework/dist/index.css' in your app entry.
gotcha Requires React 16+ as peer dependency. ↓
fix Ensure react and react-dom are installed.
breaking Version 1.0.0 dropped support for React 15. ↓
fix Upgrade React to 16+.
Install
npm install luxe-web-framework yarn add luxe-web-framework pnpm add luxe-web-framework Imports
- default wrong
import { MyComponent } from 'luxe-web-framework'correctimport MyComponent from 'luxe-web-framework' - MyComponent wrong
const MyComponent = require('luxe-web-framework')correctimport MyComponent from 'luxe-web-framework' - CSS wrong
import { CSS } from 'luxe-web-framework'correctimport 'luxe-web-framework/dist/index.css'
Quickstart
import React from 'react';
import MyComponent from 'luxe-web-framework';
import 'luxe-web-framework/dist/index.css';
function App() {
return <MyComponent />;
}
export default App;