Comments (26)
const ssr = new SSR({
build: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
});
from gez.
I'm curious how you found Genesis
from gez.
The alias of @fmfe/genesis-lint
is package.json
name by default
from gez.
Let me try
from gez.
@lzxb twitter https://twitter.com/3GpdSMKzuGYWtvX/status/1270525948895522816
from gez.
const ssr = new SSR({ build: { alias: { '@': path.resolve(__dirname, './src') } } });
@lzxb It works perfectly, only one problem found was an eslint warning.
from gez.
You need to use this eslint plug-in
https://www.npmjs.com/package/eslint-import-resolver-custom-alias
from gez.
@lzxb I have tried but it took warning from vscode but lint check failed
and found that @fmfe/genesis-lint
already pre-shipped with eslint-import-resolver-custom-alias
is there is here ?.
from gez.
You see this code https://github.com/fmfe/genesis/blob/master/packages/genesis-lint/index.js#L67
from gez.
Got it, thanks @lzxb.
this one worked
module.exports = {
extends: [
require.resolve('@fmfe/genesis-lint'),
],
settings: {
'import/resolver': {
'eslint-import-resolver-custom-alias': {
alias:{
'@':'./src'
},
extensions: ['.js', 'jsx', '.vue', '.ts', 'tsx'],
"packages": [
"examples/*"
]
},
}
}
}
from gez.
Good work
from gez.
@lzxb there is any discord channel or forum for discussions? I would like to contribute some of my efforts to this project.
from gez.
There is no forum to discuss at present, but you can write a technical article to share it
from gez.
Limited energy at present, unable to provide English documents for the time being
from gez.
@lzxb there is anyway to touch base with you other than GitHub, private slack channel will be helpful.
from gez.
Do you see telegram ?
from gez.
@lzxb yes telegram work for me. try @anish2690
from gez.
@lzxb did you able to find me ?
from gez.
You to find me @lzxb
from gez.
@lzxb, so weird are you there in this list
from gez.
@lzxb is this you email [email protected]
i will sent my phone no to you.
from gez.
Yes
from gez.
@lzxb done, let me know .
from gez.
I added it, but I can't send you a message
from gez.
@lzxb can you sent back your contact phone no ?
from gez.
It has been sent to your email
from gez.
Related Issues (20)
- 又整理了些新的问题,希望大大能解决下。 HOT 3
- 大佬,问下生产环境如何部署?没搞过linux,实在是不会! HOT 2
- 在服务端接口请求API出错,想要跳转页面如何处理呢? HOT 1
- 突然发现 favicon.ico 会自动加载成路由,而不是图标 HOT 3
- 请问JS优化压缩怎么操作?或有什么方法吗? HOT 3
- genesis怎么调试 HOT 5
- 你好 有维护版本更新记录吗 现在想更不知道更新到哪个新版本 稳定 谢谢~ HOT 6
- 想问下,提供的功能块是否有浏览器兼容性要求,我在尝试时,对于IE浏览器并不友好,另外能否提供一个更全面点的demo HOT 1
- 2.0版本没有genesis-remote这个组件了?前端怎么调用 HOT 7
- 客户端渲染是否就不是微服务了。 HOT 7
- 关于Node端实现module federation,父子服务的关系 HOT 5
- 大佬求助,1.x升级到2.1出错 HOT 12
- 大佬,关于VueSSRServerPlugin为什么要自己去实现? HOT 2
- 2.1.0 build 发布求助 HOT 5
- 由于无法使用createBundleRenderer,没有vue ssr自带沙箱机制。应该怎么清除setTimeout之类的副作用 HOT 3
- 大佬您好,关于styleTagExtractCSS不包含其他UI库CSS HOT 8
- Webpack hot reload error
- 大佬救命!升级到2.3 HOT 3
- english docs HOT 1
- error in examples when `yarn install` HOT 3
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 gez.