-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for relative imports #12
Comments
const ssr = new SSR({
build: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
}); |
I'm curious how you found Genesis |
|
You need to use this eslint plug-in https://www.npmjs.com/package/eslint-import-resolver-custom-alias |
@lzxb I have tried but it took warning from vscode but lint check failed |
The alias of |
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/*"
]
},
}
}
} |
Good work |
@lzxb there is any discord channel or forum for discussions? I would like to contribute some of my efforts to this project. |
There is no forum to discuss at present, but you can write a technical article to share it |
Limited energy at present, unable to provide English documents for the time being |
@lzxb there is anyway to touch base with you other than GitHub, private slack channel will be helpful. |
Do you see telegram ? |
@lzxb yes telegram work for me. try @anish2690 |
Let me try |
@lzxb did you able to find me ? |
|
@lzxb, so weird are you there in this list |
@lzxb is this you email |
Yes |
@lzxb done, let me know . |
I added it, but I can't send you a message |
@lzxb can you sent back your contact phone no ? |
It has been sent to your email |
example
'@/views/Test.vue'
The text was updated successfully, but these errors were encountered: