2.1.4 • Published 3 years ago

build-plugin-app-core v2.1.4

Weekly downloads
394
License
MIT
Repository
github
Last release
3 years ago

English | 简体中文

A universal framework based on React.js

Features

  • 🐒 Engineering:Out of the box support for ES6+、TypeScript、Less、Sass、 CSS Modules,etc
  • 🦊 Routing:Powerful Routing System, supports configured routing and conventions routing
  • 🐯 State management:Built-in icestore, lightweight state management solution based on React Hooks
  • 🐦 Config:Modes and Environment Variables configuration in the config file
  • 🐶 Logger:Built-in logger solution, it's a flexible abstraction over using console.log as well
  • 🐱 Helpers:Built-in helpers, provide some useful utility functions
  • 🦁 Application configuration:Provide powerful and extensible application configuration
  • 🐴 Hooks:Provide Hooks APIs such as useModel and useHistory, etc
  • 🐌 Plugin system:The plugin system provides rich features and allow the community to build reusable solutions
  • 🐘 TypeScript:Support TypeScript
  • 🐂 Modern:Support SPA、SSR、MPA and Micro-frontend

Quick start

Setup by Iceworks

We recommend creating a new icejs app using Iceworks:

create icejs app

See Quick start by Iceworks for more details.

Setup by CLI

We recommend creating a new icejs app using create-ice, which sets up everything automatically for you. To create a project, run:

$ npm init ice <project-name>

npm init <initializer> is available in npm 6+

Start local server to launch project:

$ cd <project-name>
$ npm install
$ npm run start # running on http://localhost:3333.

It's as simple as that!

Manual Setup

icejs is really easy to get started with. Install ice.js, react and react-dom in your project:

$ mkdir <project-name> && cd <project-name>
$ npm install ice.js react react-dom

Open package.json and add the following scripts:

{
  "name": "project-name",
  "scripts": {
    "start": "icejs start",
    "build": "icejs build"
  },
  "dependencies": {
    "ice.js": "^1.0.0",
    "react": "^16.12.0",
    "react-dom": "^16.12.0"
  }
}

Create the pages directory, then create the first page in pages/index.jsx:

import React from 'react'

const HomePage = () => {
  return <div>Welcome to icejs!</div>
}

export default HomePage

Configure an application information in the src/app.js file, but it is optional:

import { createApp } from 'ice'

const appConfig = {
  router: {
    type: 'browser',
  },

  // more...
}

createApp(appConfig)

Finally, To start developing your application run npm run start. The application is now running on http://localhost:3333.

Examples

Contributing

Please see our CONTRIBUTING.md

Ecosystem

ProjectVersionDocsDescription
icejsicejs-statusdocsA universal framework based on react.js
icestarkicestark-statusdocsMicro Frontends solution for large application
icestoreicestore-statusdocsSimple and friendly state for React
iceworksiceworks-statusdocsUniversal Application Development Pack for VS Code

Community

DingTalk communityGitHub issuesGitter
issuesgitter

License

MIT

1.4.11-beta.0

3 years ago

1.4.11

3 years ago

2.1.4-beta.1

3 years ago

2.1.4-beta.2

3 years ago

2.1.4

3 years ago

2.1.3-beta.1

3 years ago

2.1.2-beta.1

3 years ago

2.1.1-beta.1

3 years ago

2.1.0-beta.1

4 years ago

2.1.0-beta.2

4 years ago

2.1.2-beta.3

3 years ago

2.1.2-beta.2

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.3

3 years ago

2.1.0

4 years ago

2.0.3-beta.4

4 years ago

2.0.3-beta.3

4 years ago

2.0.3-beta.2

4 years ago

2.0.3-beta.1

4 years ago

2.0.3-beta.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.2-beta.1

4 years ago

2.0.1

4 years ago

2.0.1-beta.3

4 years ago

2.0.1-beta.4

4 years ago

2.0.1-beta.5

4 years ago

2.0.1-beta.2

4 years ago

2.0.1-beta.1

4 years ago

2.0.0

4 years ago

2.0.0-rc.4

4 years ago

2.0.0-rc.5

4 years ago

2.0.0-rc.3

4 years ago

1.4.10-beta.1

4 years ago

1.4.10

4 years ago

1.4.9

4 years ago

1.4.9-beta.2

4 years ago

2.0.0-rc.2

4 years ago

2.0.0-next.20

4 years ago

2.0.0-next.21

4 years ago

2.0.0-next.22

4 years ago

2.0.0-next.23

4 years ago

2.0.0-rc.1

4 years ago

1.4.9-beta.1

4 years ago

2.0.0-next.18

4 years ago

2.0.0-next.19

4 years ago

2.0.0-next.17

4 years ago

2.0.0-next.15

4 years ago

2.0.0-next.16

4 years ago

2.0.0-next.14

4 years ago

2.0.0-next.11

4 years ago

2.0.0-next.12

4 years ago

2.0.0-next.13

4 years ago

2.0.0-next.9

4 years ago

2.0.0-next.10

4 years ago

2.0.0-next.8

4 years ago

2.0.0-next.6

4 years ago

2.0.0-next.7

4 years ago

2.0.0-next.5

4 years ago

2.0.0-next.4

4 years ago

2.0.0-next.2

4 years ago

2.0.0-next.3

4 years ago

2.0.0-next.1

4 years ago

1.4.8-beta.2

4 years ago

1.4.8-beta.1

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.4.7-beta.1

4 years ago

1.4.6

4 years ago

1.4.6-beta.3

4 years ago

1.4.6-beta.1

4 years ago

1.4.6-beta.2

4 years ago

1.4.5

4 years ago

1.4.5-beta.1

4 years ago

2.0.0-beta.1

4 years ago

1.4.4

4 years ago

1.4.4-beta.0

4 years ago

1.4.3

4 years ago

1.4.3-beta.1

4 years ago

1.4.2

4 years ago

1.4.2-beta.1

4 years ago

1.4.2-beta.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.4.0-beta.2

4 years ago

1.4.0-beta.1

4 years ago

1.3.3

4 years ago

1.3.3-beta.1

4 years ago

1.3.2

4 years ago

1.3.2-beta.1

4 years ago

1.3.1

4 years ago

1.3.1-beta.3

4 years ago

1.3.1-beta.2

4 years ago

1.3.1-beta.1

4 years ago

1.3.0

4 years ago

1.3.0-beta.1

4 years ago

1.3.0-beta.2

4 years ago

1.3.0-beta.3

4 years ago

1.2.1-2

4 years ago

1.2.1-1

4 years ago

1.2.1-0

4 years ago

1.2.0

4 years ago

1.2.0-beta.4

4 years ago

1.2.0-beta.1

4 years ago

1.2.0-beta.3

4 years ago

1.2.0-beta.2

4 years ago

1.1.0

4 years ago

1.1.0-beta.1

4 years ago

1.0.1

4 years ago

1.0.1-beta.1

5 years ago

1.0.0

5 years ago

0.1.28-beta.4

5 years ago

0.1.28-beta.3

5 years ago

0.1.28-beta.2

5 years ago

0.1.28-beta.1

5 years ago

0.1.27

5 years ago

0.1.27-beta.2

5 years ago

0.1.27-beta.1

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.25-beta.1

5 years ago

0.1.24-beta.5

5 years ago

0.1.24

5 years ago

0.1.24-beta.4

5 years ago

0.1.24-beta.3

5 years ago

0.1.24-beta.2

5 years ago

0.1.24-beta.1

5 years ago

0.1.23

5 years ago

0.1.23-2

5 years ago

0.1.23-1

5 years ago

0.1.23-0

5 years ago

0.1.22-1

5 years ago

0.1.22

5 years ago

0.1.22-0

5 years ago

0.1.21

5 years ago

0.1.21-3

5 years ago

0.1.21-2

5 years ago

0.1.21-1

5 years ago

0.1.21-0

5 years ago

0.1.20

5 years ago

0.1.20-0

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.15

5 years ago

0.1.16

5 years ago

0.1.15-2

5 years ago

0.1.15-0

5 years ago

0.1.15-1

5 years ago

0.1.14-0

5 years ago

0.1.14

5 years ago

0.1.13-1

5 years ago

0.1.13-0

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.12-0

5 years ago

0.1.11

5 years ago

0.1.11-3

5 years ago

0.1.11-2

5 years ago

0.1.11-1

5 years ago

0.1.10

5 years ago

0.1.11-0

5 years ago

0.1.10-2

5 years ago

0.1.10-0

5 years ago

0.1.10-1

5 years ago

0.1.8

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago