Skip to content
#

hot-reload

Here are 462 public repositories matching this topic...

LongTengDao
LongTengDao commented Sep 7, 2019

What problem does this feature solve?

Because blocks in .vue file could specify lang attribute with any value, parsing sfc in flow and by indent level will get different result some times.

And tagName in html is case-insensitive, while in vue template it's not, how to treat syntax in tag with name like TextArea? Text, or HTML? Does <Style> or <StylE> belong to component styles?

SephReed
SephReed commented Dec 30, 2019

Example Error for SEO:

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Cache.get (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/fuse-box/cache/cache.js:90:39)
    at Cache.restoreModule (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/fuse-box/cache/cache.js:254:29)
    at ict.on.props (/Users/seph/Code/ChooseHealth/instrid
mmhand123
mmhand123 commented Dec 20, 2019

Sorry if this is a duplicate. I saw there was #10 but I think this is a little different. With webpack-dev-server we're running it off another port locally. I looked at how wds tries to establish the socket and noticed __resourceQuery, but also that it falls back to trying to use document.currentScript. For the time being would it be ok to add in trying to parse document.currentScript an

radutopala
radutopala commented Jan 6, 2019

We should be able to set stateless / stateful on each auth scheme independently, because an app may have 2 or more auth schemes, for example jwt/generic with stateless and form with stateful.

Current solution from @jeevatkm: achieve the stateless via interceptor (https://docs.aahframework.org/interceptors.html) - define action or controller level Finally interceptor and then call `ctx.Session

roguexiaohuihui
roguexiaohuihui commented Apr 13, 2020

想新增一个alias,像vue脚手架默认填写的:
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src')
}
},

即将@指向到某一个目录,比如app/web/目录,我在webpack.config.js文件添加了

module.exports = {
egg: true,
devtool: 'eval',
target: 'web',
entry: {
admin: 'app/web/page/admin/index.js'
},
cssExtract: true,
dll: ['vue', 'vue-router', 'vuex',

Improve this page

Add a description, image, and links to the hot-reload topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hot-reload topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.