Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Storybook | 81,126 | 26,487 | 9 hours ago | 1,044 | December 02, 2023 | 1,789 | mit | TypeScript | ||
Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation. | ||||||||||
React Boilerplate | 29,281 | 2 | 3 | 8 months ago | 1 | May 11, 2014 | 116 | mit | JavaScript | |
:fire: A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices. | ||||||||||
Fe Interview | 24,218 | a day ago | 5,565 | mit | JavaScript | |||||
前端面试每日 3+1,以面试题来驱动学习,提倡每日学习与思考,每天进步一点!每天早上5点纯手工发布面试题(死磕自己,愉悦大家),6000+道前端面试题全面覆盖,HTML/CSS/JavaScript/Vue/React/Nodejs/TypeScript/ECMAScritpt/Webpack/Jquery/小程序/软技能…… | ||||||||||
React Redux Links | 22,290 | a month ago | 33 | |||||||
Curated tutorial and resource links I've collected on React, Redux, ES6, and more | ||||||||||
Electron React Boilerplate | 22,098 | 5 | 13 days ago | 3 | April 28, 2016 | 106 | mit | TypeScript | ||
A Foundation for Scalable Cross-Platform Apps | ||||||||||
Generator Jhipster | 21,001 | 4,666 | 210 | 12 hours ago | 273 | November 02, 2023 | 197 | apache-2.0 | TypeScript | |
JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures. | ||||||||||
Js Stack From Scratch | 19,396 | 2 | a year ago | 1 | January 19, 2017 | 48 | mit | JavaScript | ||
🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack. | ||||||||||
Ice | 17,690 | 1,577 | 5 days ago | 90 | August 26, 2022 | 304 | mit | TypeScript | ||
🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架) | ||||||||||
React Loadable | 16,580 | 3,250 | 1,204 | a year ago | 30 | August 09, 2018 | 38 | mit | JavaScript | |
:hourglass_flowing_sand: A higher order component for loading components with promises. | ||||||||||
Front End Guide | 14,903 | 2 | 6 months ago | 1 | June 22, 2017 | 25 | mit | JavaScript | ||
📚 Study guide and introduction to the modern front end stack. |
The share loader allows you to share modules between webpack builds via a global namespace
npm i share-loader --save-dev
Or
yarn add share-loader --save-dev
webpack config of exposing app
module: {
rules: [{
test: /\.js?$/,
use: [{
loader: 'share-loader',
options: {
modules: [/@angular/, /@uirouter\/angular/],
exclude: [/@angular\/material/],
namespace: 'some-name-space'
}
}]
}]
}
webpack config of consumer apps
const {Externals} = require('./share-loader');
externals: [
Externals({
namespace: 'some-name-space',
modules: [/@angular/, /@uirouter\/angular/]
})
],
output: {
library: 'some-name-space',
libraryTarget: 'umd'
}
Example
1. In the root folder, run npm bootstrap
2. Run npm run build:prod in the ext-app-1 root
3. Host the ext1.js file from ext-app-1 project in some localhost server
4. Change the <%path-to-server-host%> in the shell project app.state.ts
5. Run npm run serve:dev in the shell project root
Example-cli
1. In the root folder, run npm bootstrap
2. In "shell app" folder run npm run start:prod
3. In the "ext-app1" folder run npm run start:ext:prod
4. For AOT run npm serve --prod in "shell-app" and npm run serve:ext:prod in "ext-app1"
5. You can also run ext-app1 in standalone mode with ng serve