Giter VIP home page Giter VIP logo

Comments (26)

lzxb avatar lzxb commented on July 30, 2024 1
const ssr = new SSR({
    build: {
        alias: {
            '@': path.resolve(__dirname, './src')
        }
    }
});

from gez.

lzxb avatar lzxb commented on July 30, 2024 1

I'm curious how you found Genesis

from gez.

lzxb avatar lzxb commented on July 30, 2024 1

The alias of @fmfe/genesis-lint is package.json name by default

from gez.

lzxb avatar lzxb commented on July 30, 2024 1

Let me try

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb twitter https://twitter.com/3GpdSMKzuGYWtvX/status/1270525948895522816

from gez.

anish2690 avatar anish2690 commented on July 30, 2024
const ssr = new SSR({
    build: {
        alias: {
            '@': path.resolve(__dirname, './src')
        }
    }
});

image
@lzxb It works perfectly, only one problem found was an eslint warning.

from gez.

lzxb avatar lzxb commented on July 30, 2024

You need to use this eslint plug-in

https://www.npmjs.com/package/eslint-import-resolver-custom-alias

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb I have tried but it took warning from vscode but lint check failed
image
and found that @fmfe/genesis-lint already pre-shipped with eslint-import-resolver-custom-alias is there is here ?.

from gez.

lzxb avatar lzxb commented on July 30, 2024

You see this code https://github.com/fmfe/genesis/blob/master/packages/genesis-lint/index.js#L67

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

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.

lzxb avatar lzxb commented on July 30, 2024

Good work

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb there is any discord channel or forum for discussions? I would like to contribute some of my efforts to this project.

from gez.

lzxb avatar lzxb commented on July 30, 2024

There is no forum to discuss at present, but you can write a technical article to share it

from gez.

lzxb avatar lzxb commented on July 30, 2024

Limited energy at present, unable to provide English documents for the time being

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb there is anyway to touch base with you other than GitHub, private slack channel will be helpful.

from gez.

lzxb avatar lzxb commented on July 30, 2024

Do you see telegram ?

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb yes telegram work for me. try @anish2690

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb did you able to find me ?

from gez.

lzxb avatar lzxb commented on July 30, 2024

image
You to find me @lzxb

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb, so weird are you there in this list
image

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb is this you email [email protected] i will sent my phone no to you.

from gez.

lzxb avatar lzxb commented on July 30, 2024

Yes

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb done, let me know .

from gez.

lzxb avatar lzxb commented on July 30, 2024

I added it, but I can't send you a message

from gez.

anish2690 avatar anish2690 commented on July 30, 2024

@lzxb can you sent back your contact phone no ?

from gez.

lzxb avatar lzxb commented on July 30, 2024

It has been sent to your email

from gez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.