Comments (4)
这必须已支持啊 😂 你可以确认下。在 Chrome 的 source tab 下,webpack:// . 路径下可以看到源码。你也可以在代码中插入 debugger 语句来加入断点。
from rekit.
@supnate 这个代码是生成过的不是源码
from rekit.
@asmh1989 哦,抱歉,理解错了。Rekit 现在使用的是 "eval" 级别的源码,这样开发时热更新速度比较快,所以看到的是 Babel 翻译过的代码,个人以为也可以理解并调试。如果习惯看原始的源码,可以在 webpack-config.js 文件中将 devtool: { dev: 'eval' } 改成 dev: 'source-map' 之类,这样就能看到严格的源码了。具体的参数含义可以参考:https://webpack.js.org/configuration/devtool/
from rekit.
@supnate 好的, 谢谢. 确实可以. 一开始我以为要和create-react-app
一样, 调试的代码在localhost://下.
from rekit.
Related Issues (20)
- rekit-studio can't launch success
- Memory leak when running Jest tests due to nock not restoring https global HOT 2
- High Severity Vulnerbility in Rekit-core HOT 4
- Cannot create app at first time
- Cant open rekit studio HOT 8
- Unable to create actions with redux-saga plugin HOT 3
- Templates in rekit 3? HOT 6
- 王老师好,为什么脚手架中的package.json不区分dependencies与devDependencies HOT 1
- rekit edit mode with vim HOT 1
- functional component generated tests does not wotk
- Build errors during global package install on Windows HOT 1
- Failed to load project data Request failed with status code 500 HOT 2
- npm install rekit-studio error HOT 1
- Win10 can not create first app
- testcase issue Cannot use import statement outside a module
- Update path? HOT 6
- Create an action for a class component through rekit3.0? HOT 6
- rekit create-plugin <plugin-name> rekit: error: argument "commandName": Invalid choice: create-plugin (choose from [create, list, install, uninstall, add, remove, rm, move, mv])
- Whether to consider supporting HashedModuleIdsPlugin by default HOT 1
- 通过rekit 初始化创建app,npm test报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rekit.