alibaba / rax

🐰 Rax is a progressive framework for building universal application. https://rax.js.org
Other
8k stars 627 forks source link

[Question] Module '"rax-app"' has no exported member 'createStore' #2370

Open eaglefly opened 1 year ago

eaglefly commented 1 year ago

通过 npm init rax后 创建store.ts import { createStore } from 'rax-app'; const store = createStore({ }); export default store; 就出来: createStore未导出.

版本如下: "dependencies": { "rax": "^1.1.0", "rax-document": "^0.1.0", "rax-image": "^2.0.0", "rax-link": "^1.0.1", "rax-text": "^2.0.0", "rax-view": "^2.0.0" }, "devDependencies": { "rax-app": "^3.8.7", "@iceworks/spec": "^1.0.0", "@types/rax": "^1.0.0", "eslint": "^8.0.0", "prettier": "^2.1.2", "stylelint": "^13.7.2" },

通过npm start多次无效。

DD798509706 commented 7 months ago

怎么解决了的?