Commit Graph

12 Commits

Author SHA1 Message Date
HcySunYang
49f4072c83
fix(compiler-ssr): keep the order of imports expression for the fallback branch of SSR (#3448)
fix #3447
2021-03-25 11:10:25 -04:00
Evan You
8ac2241b22 wip: more consistent compiler-sfc usage + inline mode for ssr 2020-11-20 14:23:09 -05:00
Evan You
6a0be882d4 feat(compiler-sfc): support transforming absolute asset urls
BREAKING CHANGE: `@vue/compiler-sfc`'s `transformAssetUrlsBase` option
has been removed. It is merged into `trasnformAssetUrls` which now also
accepts the format of

  ```ts
  {
    base?: string
    includeAbsolute?: string
    tags?: { [name: string]: string[] }
  }
  ```
2020-05-04 16:45:19 -04:00
Evan You
47e984d31f refactor(compiler): provide _ctx and _cache via arguments 2020-02-10 17:29:12 -05:00
Sören Schwert
c71ca354b9 fix(compiler-sfc): only transform relative asset URLs (#628) 2020-01-20 09:57:17 -05:00
Evan You
59c595c1e8 refactor: use named export for compiled render function 2019-12-24 11:04:44 -05:00
Evan You
90ddb7c260 refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
宋铄运
559fa27185 test(compiler-sfc): more tests (#536) 2019-12-11 09:26:14 -05:00
Evan You
818bf17cb7 feat(compiler-sfc): use @vue/compiler-dom by default 2019-12-10 22:23:55 -05:00
Evan You
3e3188fa9f refactor: adjust sfc compiler options 2019-12-10 17:41:56 -05:00
Evan You
c8c5b16ef7 feat(compiler-sfc): properly pass on options 2019-12-10 12:22:23 -05:00
宋铄运
0a14c04c81 feat(compiler-sfc): compile template WIP (#534) 2019-12-10 12:01:56 -05:00